[Tutor] How to set PYTHONPATH

Eli Brosh ebrosh at nana.co.il
Tue Nov 7 04:17:28 CET 2006


 
How do i set the PYTHONPATH variable ?
>From answers to my query on "editing path" I realized that this is what should be done if i want to include another folder in the  Python search path.
 
I tried:
import sys
sys.path.append('additional path')
 
but it worked only at runtime and is forgotten when I restart Python.
I would like to append the PYTHONPATH permanently.
 
How is it done under Windows XP ?
 
Thank you very much for your attention
Eli Brosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061107/4fe5870d/attachment.htm 


More information about the Tutor mailing list