[issue8202] sys.argv[0] and python -m package

Michael Foord report at bugs.python.org
Mon Mar 22 23:48:33 CET 2010


Michael Foord <michael at voidspace.org.uk> added the comment:

'-c' isn't helpful because that is also the content of sys.argv[0] when a module is imported in response to "python -c '...'".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8202>
_______________________________________


More information about the Python-bugs-list mailing list