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.

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to