How to reload import in Jupyter
import mymodule
# Reload .py file every time we run the cell
from importlib import reload
reload(mymodule)
In case you want to reloadĀ wildcard imports also see our new post onĀ How to reload ‘from mymodule import *’ wildcard imports in Jupyter
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow