I use Eclipse and have problem with addressing my module in Python. I have a package structure:
Src
\Svet
foo1.py
\TEST
\foo2.py (defTest2)
I tried to use
from Svet.TEST.foo2 import defTest2
but I get the error
Traceback (most recent call last):
File "C:\Users\X\....", line 10, in <module>
import foo2.py
ImportError: No module named defTest2
Does anyone have any ideas why I am getting this error?
Each Folder contains the .py files which wanted to be used should be Added as resource in PYDEV-PYTHONPATH. EVEN IF THEY ARE SUB DIRECTORY OF EACH OTHER