PYTHONPATH

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Thu Apr 20 08:34:54 EDT 2006


sushant.sirsikar at gmail.com enlightened us with:
>   I am using Linux env.I set the PYTHONPATH using
>
> import sys
> sys.path.append(----)
>
> But we i close python and start again i is not showing my new entry in
> PYTHONPATH.
> Can anyone help me to make my path persistant?

Add the following to /etc/profile:

export PYTHONPATH="..."

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list