How to import from a file which is not in the current directory?

Kurda Yon kurdayon at yahoo.com
Wed Oct 22 23:38:17 CEST 2008


Hi,

I would like to import a function from a file which is located not in
the same directory as the main program (from which the function needed
to be imported).

Could anybody pleas tell me how to do that?

Thank you in advance.



More information about the Python-list mailing list