[docs] [issue17359] python modules.zip is not documented
report at bugs.python.org
Tue Mar 5 20:48:45 CET 2013
Eli Bendersky added the comment:
Package names are also permitted. When a package name is supplied instead of a normal module, the interpreter will execute <pkg>.__main__ as the main module. This behaviour is deliberately similar to the handling of directories and zipfiles that are passed to the interpreter as the script argument.
This is for "-m"
Execute the Python code contained in script, which must be a filesystem path (absolute or relative) referring to either a Python file, a directory containing a __main__.py file, or a zipfile containing a __main__.py file.
Python tracker <report at bugs.python.org>
More information about the docs