PYTHONPATH doesn't work for scripts
Bug #409531 reported by
Phillip M. Feldman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
It appears that the PYTHONPATH environment variable works for modules, but not for scripts. It would be really convenient if one
could put a script xyz.py in some common location and then run it from anywhere by typing 'run xyz' at the IPython prompt. I'm not sure whether this should be default behavior or an option.
To post a comment you must log in.
For more context, see discussion on this thread on the user list:
http:// mail.scipy. org/pipermail/ ipython- user/2009- July/006490. html