__main__ -- Python library reference



Prev: __builtin__ Up: Python Services Top: Top

3.11. 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.