[Python-Dev] .pth files in current or script directory

Guido van Rossum guido at python.org
Thu May 13 20:25:53 EDT 2004


> The discussion in question concerned someone using a version control
> system, and needing to change PYTHONPATH depending on which branch they
> were in.

Can't they manipulate sys.path *inside* the code in question?  That's
invariably the solution I end up using -- I never play with
PYTHONPATH any more.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list