"Eli Brosh" <[EMAIL PROTECTED]> wrote 

> How do i set the PYTHONPATH variable ?
> How is it done under Windows XP ?


Go to MyComputer and right click, select Properties

Go to the Advanced Tab
Click the EnvironmentVariables button

In the lower window, labelled System Variables look for PYTHONPATH
If it exists click Edit otherwise click New

In the Name field type PYTHONPATH

In the value field type a list of paths separated by semi-colons
For example mine looks like:

D:\PROJECTS\Python;D:\PROJECTS\Book\section4

Close all the boxes.

You may need a restart to make it take effect I'm not sure on that...

HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to