Skip to content

Instantly share code, notes, and snippets.

@post2web
Forked from deehzee/autoreload.md
Created May 3, 2018 19:54
Show Gist options
  • Save post2web/5029fe4f172cf3871b5301b2418d1df4 to your computer and use it in GitHub Desktop.
Save post2web/5029fe4f172cf3871b5301b2418d1df4 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