Python Path

Arnaldo Riquelme javanet at dynacap.com
Mon Aug 28 19:47:51 EDT 2000


How do I tell python to look for modules or files that are not
in the path.

I'm on Win32 platform. Python resides on C:\Program Files\Python.
I have a directory on d: where a store all my developement staff.

I have a file called formatp.py in d:\pylab, I want to be able to import
that file
from the interpreter without having to put formatp.py in the python path.

I've seen a way to do this long time ago and I don't recall how to do it.(a
pth file or something like that)

Any one can point to some docs.  or tell me how to do it?


Thanks in advance


Arnaldo





More information about the Python-list mailing list