Re: How can I import functions from another python file

2007-04-09 Thread Shane Geiger
Hi, i have 2 python files in *different directory* , how can I import python functions from 1 python file to another? i get this error: import task ImportError: No module named task/ The directory that module is in must by on your python path in order to import it. That's not exactly c

Re: How can I import functions from another python file

2007-04-09 Thread Gabriel Genellina
En Mon, 09 Apr 2007 18:06:11 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió: > i have 2 python files in *different directory* , how can I import > python functions from 1 python file to another? See the tutorial about modules, packages, and the module search path: http://docs.python.or

Re: How can I import functions from another python file

2007-04-09 Thread Lee Harr
On 2007-04-09, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > i have 2 python files in *different directory* , how can I import > python functions from 1 python file to another? > > i get this error: > import task > ImportError: No module named task/ > The directory that module is in must b

How can I import functions from another python file

2007-04-09 Thread [EMAIL PROTECTED]
Hi, i have 2 python files in *different directory* , how can I import python functions from 1 python file to another? i get this error: import task ImportError: No module named task/ Thank you. -- http://mail.python.org/mailman/listinfo/python-list