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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -