Import paths – the right way?

What is the entry point for your program? Usually the entry point for a program will be at the root of the project. Since it is at the root, all the modules within the root will be importable, provided there is an __init__.py file in them. So, using your example: my_project/ main.py package1/ __init__.py module1 … Read more