PYTHONPATH question

Peter Hansen peter at engcorp.com
Sun Apr 6 18:10:35 EDT 2003


Ali Dada wrote:
> 
> i want to add an entry to
> PYTHONPATH and i don't want to use sys.path because i want the new entry to
> remain permanently.

Consider creating a .pth file in the python folder itself (or wherever
they go under Linux).  See python/lib/site.py for details.  

-Peter




More information about the Python-list mailing list