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