The only quick, dirty solution that came to my mind is having this structure:
.
├── Examples
│ ├── __init__.py
│ └── test.py
├── Main_Folder
│ ├── Export
│ │ └── exportmanager.py
│ └── __init__.py
├── __init__.py
And suppose your exportmanager.py looks like this:
def fun():
print("This is from Export Manager!")
And then you import this in your test.py using:
import os
import sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
from Main_Folder.Export import exportmanager
exportmanager.fun()
I tried using relative imports, other "simplest" solutions, all of them gave the same error "ImportError: attempted relative import with no known parent package".
So if you're looking for a dirty workaround, this might be it. As to why there are a few init.py files, which are basically empty in this case, I encourage you to read about it more (i.e. here)
Have fun.