A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-July/073929.html below:

[Python-Dev] Add a -z interpreter flag to execute a zip file

[Python-Dev] Add a -z interpreter flag to execute a zip file [Python-Dev] Add a -z interpreter flag to execute a zip fileGreg Ewing greg.ewing at canterbury.ac.nz
Sat Jul 14 04:58:33 CEST 2007
Andy C wrote:
> What does "if __name__ == '__main__" mean in
> __main__.py?  : )  If someone tries does import __main__ from another
> module in the program, won't that result in an infinite loop?

Is there a reason not to use __init__.py for this?

--
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4