So I searched for dozen different tutorials and currently i am struggling with importing a file from different subdirectory. I am using python3. the folders look like this:
app
|-gui/
| |-interface.py
|-src/
| |-main.py
|-utils/
| |-var.py
In main.py i am trying do import var.py with a two classes. This way: import utils.var. Horewer its the classic error: ModuleNotFoundError: No module named 'utils'. I tried all different combinations app.utils.var, var, utils, app.utils, nothing seems to work. Even tried relative imports like ..utils.var etc. What seems to be the problem???