If I have a module folder structure like this:
studio
tools
__init__.py
camera
__init__.py
camera.py
element
__init__.py
element.py
How do I write the __init__.py files to make it so I can write my import statements like the following? There is a class object in the camera
module called CameraNode
that I would like to call like shown in the sample below.
from studio import tools
tools.camera.fn()
tools.CameraNode('')
tools.element.fn()