[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

Matthew Woodcraft report at bugs.python.org
Sun Nov 27 21:42:45 CET 2011


Matthew Woodcraft <matthew at woodcraft.me.uk> added the comment:

The proposed --nopath0 option is something I've wished I had in the past.

If this is added, it would be good if it could be given a single-letter form too, because it's an option that would be useful in #! lines (they don't reliably support using more than one command-line argument, and single-letter switches can be combined while long-form ones can't).

----------
nosy: +mattheww

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


More information about the Python-bugs-list mailing list