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

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -