Created
November 7, 2016 15:10
-
-
Save amattheisen/b476f13bfa341b8218a4aab8057abf9b to your computer and use it in GitHub Desktop.
reload changed module in ipython
This file contains 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
I develop using vim and an ipython shell. | |
To test module changes to module foo, I type the following in the python shell: | |
import sys | |
reload(sys.modules['foo']) | |
import foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment