Hi
I need to import several modules from many folders which has subfolders
~/folder/tests/sampletest.py
~/folder/suites/samplesuit.py
a suit uses tests from tests folder. I need to import them somehow from
tests folder. I added ~/folder to PYTHONPATH in my test_runner:
import sys
import os
sys.path.insert(0, "~/folder")
os.popen("python2.5 %s" %sys.argv[1])
But when trying to import module in the samplesuite file:
from tests.sampletest.EmailWithoutA import EmailWithoutA
>
But I getting ImportError: No module named ....
Please help
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor