[Python-ideas] Why is there no way to pass PYTHONPATH on the command line?
dholth at gmail.com
Sat Sep 15 01:34:55 CEST 2012
Surely it should be the same as python path, at the front, and use - E to
ignore the environment
On Sep 14, 2012 7:17 PM, "Eric Snow" <ericsnowcurrently at gmail.com> wrote:
> On Fri, Sep 14, 2012 at 5:03 PM, Guido van Rossum <guido at python.org>
> > On Fri, Sep 14, 2012 at 3:48 PM, Eric Snow <ericsnowcurrently at gmail.com>
> >> ... issue13475 ...
> > Why is the proposal --path0 and not --path? (The only utility I know
> > with a command line option spelled as "foo0" is find, where -print0
> > means "like -print, but append \0 instead of \n".)
> It's meant to allow you to explicitly manage the sys.path value
> that gets set implicitly. That it fits Daniel's use case (as I
> understand it) is not coincidental, but it's not meant as a wholesale
> substitute for PYTHONPATH. That would be a separate proposal (which I
> believe exists in the tracker already).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas