I have a structure as :
- api.py
- reports (folder)
|_app.py
|_pages (folder)
|_page1.py
In reports, app.py calls page1.py. I need to execute app.py from api.py. I am trying to "from reports import app" but I get :
ModuleNotFoundError: No module named 'pages'
Any ideas on how I can do this? I am new to modules in Python, so any help would be highly appreciated.