PYTHONPATH question

Peter Hansen peter at engcorp.com
Mon Apr 7 00:10:35 CEST 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