Regular python modules can be reloaded with importlib.reload() to load changes to the source code without restarting the python interpreter. This mechanism is used by the %autoreload IPython extension ...