[Python-Dev] Setting project home path the best way
ncoghlan at gmail.com
Mon Nov 12 01:38:40 CET 2012
The only way I know how to do it is to have my cwd set to the directory I
want on sys.path, then use -m for script execution (using a separate shell
session for anything where I want a different working directory).
I don't know of any way to handle a varying cwd without manipulating the
path directly through either virtualenv or PYTHONPATH.
Sent from my phone, thus the relative brevity :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev