I have the following folder structure:
/project
__init__.py
/module1
__init__.py
file1.py
/module2
__init__.py
file2.py
In file1 if I write from module2 import file2 I get the error No module named 'module2'. How can I make python import in an absolute way starting from the root of the project?