![](https://secure.gravatar.com/avatar/dd4761743695d5efd3692f2a3b35d37d.jpg?s=120&d=mm&r=g)
Sept. 14, 2012
10:48 p.m.
On Fri, Sep 14, 2012 at 3:24 PM, Daniel Holth <dholth@gmail.com> wrote:
Why is there no way to pass PYTHONPATH on the command line? Oversight or intentional?
Given path_item/something.py
python -p path_item -c "import something; something.foo()"
Do you mean something along the lines of http://bugs.python.org/issue13475? This would add --path0 and --nopath0 as commandline options. Of course, this would only be in Python 3.4 (if it makes it in at all). -eric