Here is my file structure...
my_project/
├── app1/
│ ├── __init__.py
│ └── module.py [class Tokens]
└── app2/
├── __init__.py
└── feature1/
├── __init__.py
└── script.py
In script.py, I have to import Tokens...
What I tried is:
from app1.module import Tokens
also
from my_project.app1.module import Tokens
I am getting: ModuleNotFoundError: No module named 'app1' or 'my_porject'
Why am I getting this error and how do I resolve it.