I want this structure:
Zimp/controller/game_play -->How do I: import Zimp/model/game_play module in the easiest way? Zimp/model/game_play
I made a folder called controller and a folder called model. Within those folders I put an empty __init__.py
file (don't know why that would do anything). I didn't make a model.py file or a controller.py file. It didn't work. I just made a model.py and a controller.py that are empty except for the main block that automatically appears when creating a new module. No difference.
In controller/game_play.py I tried: from ..model import game_play_model
It says value error: attempted relative import in non-package
Is the idea not to actually put them in separate directories? What is the norm?
Thanks