
Once you import a Python module, a second import won’t reload it.
That’s usually good. But what if you want to? (Common in development and debuggin.)
from importlib import reload
reload(mymod)
This forces the reload.

Once you import a Python module, a second import won’t reload it.
That’s usually good. But what if you want to? (Common in development and debuggin.)
from importlib import reload
reload(mymod)
This forces the reload.