how do I import from other directories?

Peter Rams peter.rams at sap.com
Tue Dec 17 09:06:51 EST 2002


Hi,

I want to import a module from another directory. Normally I would set a
path to the directory in the enviroment, but I'm running my script on the
server of my provider, so I think I can't change the enviroment here.

Is somethink like: import "/home/username/mydic/module.py" possible in
python?

Thanks,
Peter





More information about the Python-list mailing list