Lets say i have an app with a GUI.
the folder structure is:
\project
run.py
gui.py
\tracker
tracker.py
trackerdialog.py
trackerDB.py
run.py is the main app entry point. it imports a bunch of packages including "import tracker.tracker"
while I'm working on tracker.py, tracker.py reads:
import trackerDialog, trackerDB
when I run tracker.py, everything works but when I import tracker from run.py. run.py errors with "no module named trackerDialog"
What is the proper way to import this submodule so i can test it isolated as tracker.py but also still have run.py be able to import it?