[Python-Dev] PEP 328 and PEP 338, redux

Jim Jewett jimjjewett at gmail.com
Fri Jun 30 00:16:48 CEST 2006

> Real-world usage case for import __main__?

Typically for inter-module communication.  A standard name (such as
lobby, or __settings__) would work as well, but __main__ is what we
have, for backwards compatibility.


More information about the Python-Dev mailing list