Newbie question ... reading modules from directories in Windows

Peder Jakobsen jakobsen at home.com
Fri Dec 29 23:45:53 EST 2000


Just a small question:

I have added a "C:\Python20\sandbox" directory to my PYTHONPATH

Now I'm trying to import modules from that directory whole using the
interactive Python prompt, but it only works if I start python.exe in the
directory where the module resides.

I thought by adding the directory where the .py files exist to the Path,
Python would be able to detect them???

Thanks in advance,

Peder Jakobsen, Ottawa





More information about the Python-list mailing list