... setup: autoreload


The commands below will both install and run jupyter lab.

python -m pip install jupyterlab
python -m jupyter lab

Once here, you'll want to run the following commands for live reloading:

%load_ext autoreload 
%autoreload 2

You can now make updates to code and see the effects in your notebook without having to restart it.

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider signing up for the newsletter.