[Tutor] Pythonpath question

alan.gauld@bt.com alan.gauld@bt.com
Fri, 17 Aug 2001 14:02:46 +0100


> Could someoen give me a quick and brief tutorail on pythonpath, how to
> set it for windows 98 etc???? ;-)))

Open notepad
File|Open C:\>autoexec.bat

Go to the end of the file and add the line:

SET PYTHONPATH=C:\PYTHON\MyModules

using the full path of wherever you keep your "missing" modules.

Now save and close the file. Reboot.

To add another location edit the same line to ook like:

SET PYTHONPATH=C:\PYTHON\MyModules;D:\Project\modules

Thats it. Reboot for changes to take effect (you could just 
run autoexec.bat from an open dos box as a short term fix)

Alan G