[Tkinter-discuss] how to import a module that is not in the work dir?
Snakey
darr_low at yahoo.com
Wed May 7 11:10:40 CEST 2008
I have written some functions in "my_functions.py".
I need to use these functions in another program main.py.
But, "my_functions.py" cannot reside in my local work folder. It resides in
a shared directory somewhere else eg. in X:\shared\my_functions.py
How can I import my_functions.py into main.py?
Will this work: ?
import X:\shared\my_functions.py
--
View this message in context: http://www.nabble.com/how-to-import-a-module-that-is-not-in-the-work-dir--tp17100345p17100345.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
More information about the Tkinter-discuss
mailing list