python - PyDev - unable to import modules which are under sub directory -
i have python project structure shown below,
├── example ├── test.py └── module ├── __init__.py ├── mymod.py └── submod.py
i imported above project pydev project , test.py
not import mymod
. importing module inf following way.
from module import mymod
i added module
directory pydev pythonpath
did not hep.
i run test.py
console without problem.
add example
python path
Comments
Post a Comment