I have read the documentation and there is something I'm still not sure about. Does all the initialisation code for the whole module in __init__.py
get run if I do:
from mymodule import mything
or only if I do
import mymodule
What gets run from __init__.py
and when does it get run?
I'm sure I could also test this fairly easy, but for posterity and helpfulness for others, I thought I'd ask here.