[Tutor] python import problem
hokkakada at khmeros.info
Wed Aug 9 10:36:05 CEST 2006
I have problem with import statement.
supposed that I have two files in different folders : modules/myfile.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,
More information about the Tutor