Auto-reload Python Packages or Python Modules in Jupyter Notebook

#Python #Jupyter

Python package or python module autoreloading in jupyter notebook

In many cases, we include local packages or modules in jupyter notebooks. While it makes the code easier to read, packages or modules have to be hot reloaded everytime we make some changes to them.

%load_ext autoreload
%autoreload 2

More about this jupyter notebook magic can be found in the documentation.

Published: by ;

Table of Contents

Current Ref:

  • til/programming/jupyter-notebook-autoreload-python-modules-or-packages.md