I am still getting my head around the import
statement. If I have 2 folders in the same level:
How to make the py
files in test
import the modules in src
?
Is there a better solution (like put a folder inside another?)
The code you want is for using src/module_name.py
from src import module_name
and the root directory is on your PYTHONPATH e.g. you run from the root directory
Your directory structure is what I use but with the model name instead from src. I got this structure from J Calderone's blog and