Hi all,

I have problem with import statement.

supposed that I have two files in different folders : modules/myfile.py
and translate/factory.py.


the folders modules and translate are in the same level, so if I want to
import factory.py into myfile.py, how can I do?


I have already done in myfile.py:

from translate import factory

but it is still not work. Any solution?

Thanks and regards,
da
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to