PYTHON

TIL: Autoreload for Jupyter notebooks

How to skip having to restart your notebook on code changes.

Add these commands to the top of a notebook within a Python cell. Thanks to Jeremy Howard for the tip.

“`python
%load_ext autoreload
%autoreload 2
“`

Tags: TIL python jupyter howto

← Back to all articles

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button