[Tutor] PYTHONPATH - PATHS, again

alan.gauld@bt.com alan.gauld@bt.com
Thu, 6 Dec 2001 17:28:02 -0000

> other variables but include all of the locations you want to 
> run Python from.

Its not so much where you want to run Pyuthon from its 
where you want python to look for modules.

So when in a program you say

import mySuperModule

the file mySuperModule.py should live in one of the 
directories listed in PYTHONPATH.

Alan g.