How can I have a file that is always imported when then module is imported?
eg: consider this module.
/ myMod
   / __init__.py
   / important.py               # defines myFunc
   / extraFunctions.py
   / classDefinitions.py
All of the functions that anyone using module would be in important.py. I want important.py to be included by default in myMod. So using the module would be like this.
import myMod
myMod.myFunc()
instead of
from myModimport important
important.myMod()
or
import myMod
myMod.important.myFunc()
Should important.py be renamed to __init__.py, main.py or __main__.py or can __init__.py be edited to include important.py as default or even just select functions from it?
