I've written a few tools to run inside a python environment, specifically Autodesk Maya (A 3d animation package software). Generally i like to build my tools with the same folder structure as scene below.
I was wondring, how would i properly write my 'import' statements in the utils/general.py file if i wanted it to import views/objects.py without conflicting and trying to import from the wrong tool?
ToolA
- views/
objects.py
- utils/
general.py
main.py
ToolB
- views/
objects.py
- utils/
general.py
main.py