python path

Adam Langley usenet at imperialviolet.org
Thu Nov 28 10:46:17 EST 2002


On Thu, 28 Nov 2002 16:18:56 +0100, Jonas Geiregat wrote:

> on linux
> how can add new path's to my sys.path var not with append cause when the 
> programme closes or interpreter it changes again ?
> so save it somewhere ?

set $PYTHONPATH in your shell rc file (e.g. ~/.bashrc)




More information about the Python-list mailing list