[docs] [issue17359] python modules.zip is not documented
Eli Bendersky
report at bugs.python.org
Tue Mar 5 20:48:45 CET 2013
Eli Bendersky added the comment:
>From http://docs.python.org/3/using/cmdline.html:
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"
Also:
<script>
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.
----------
nosy: +eli.bendersky
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17359>
_______________________________________
More information about the docs
mailing list