So I am trying to access to a file contained inside a folder which himself is inside the parent folder :
_PARENT
- __init__.py
- Parser
- __init__.py
- myPars.py
- Getter
- __init__.py
- getSomething.py
- Setter
- __init__.py
- setSomething.py
What I need here is to access to 'myPars' from the 'getSomething'. I tried this :
from ..Parser import myPars
But I get :
ImportError: attempted relative import with no known parent package
Any help would be appreciated, Thanks.