I have this problem with python, and I'm absolutely lost, I hope that some of you know a solution. Considering the project structure
main_folder
main.py
----second_folder
----a.py
----b.py
in main.py
import second_folder.a as bla
in a.py
import b as blub
When I run a.py
everything works fine, but when I run main.py
I get the error No module named 'b'
.
I tried literally everything, but I don't see a "clean" solution for this problem.
I know, this might be a duplicate, but I'm searching for weeks, and I'm really frustrated at this point :( I think python is a really cool language, but this problem makes it nearly unusable for large projects.