So I have a python package which contains a number of .py files in it.
my_python_package
|
|________ __init__.py
|________ quickstart.py
In my quickstart.py file, I want to reference my_python_package; which I can obviously do so by writing
import my_python_package
Is there a better way I can reference my_python_package without explicitly importing it by name?
Not exactly, but you can reference things inside the package using relative imports with the dot syntax, e.g.