Skip to content

Instantly share code, notes, and snippets.

@Lyken17
Forked from deehzee/autoreload.md
Created October 16, 2018 02:37
Show Gist options
  • Save Lyken17/4fbdc06721bb06a86d61d558d3e319bb to your computer and use it in GitHub Desktop.
Save Lyken17/4fbdc06721bb06a86d61d558d3e319bb to your computer and use it in GitHub Desktop.
Auto reload of modules in jupyter notebook

Module autoreload

To auto-reload modules in jupyter notebook (so that changes in files *.py doesn't require manual reloading):

# for auto-reloading external modules
# see http://stackoverflow.com/questions/1907993/autoreload-of-modules-in-ipython
%load_ext autoreload
%autoreload 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment