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
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