Last active
December 10, 2015 07:48
-
-
Save an9er/bcdbe017bf1c029716ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[QUESTION] Reloading submodules in IPython | |
[ANSWER] | |
IPython comes with some automatic reloading magic: | |
%load_ext autoreload | |
%autoreload 2 | |
It will reload all changed modules every time before executing a new line. The way this works is slightly different than dreload. Some caveats apply, type %autoreload? to see what can go wrong. | |
EDIT: fixed typo locd -> load |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment