How to - import code not in current directory

py codecraig at gmail.com
Thu Nov 17 09:01:55 EST 2005


PYTHONPATH is perfect....check out this link for more info..

http://docs.python.org/tut/node8.html#searchPath

I just added the environment variable (on windows) named "PYTHONPATH"
and set it to "C:\some\other\directory"

:)




More information about the Python-list mailing list