3.24 Built-in Module __main__

 This module represents the (otherwise anonymous) scope in which the interpreter's main program executes -- commands read either from standard input or from a script file.


guido@python.org