Created
April 6, 2017 13:49
-
-
Save dhbradshaw/6fb969c04e774ab1767dc85a2278f154 to your computer and use it in GitHub Desktop.
Easy reloading 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
In [1]: %load_ext autoreload | |
In [2]: %autoreload 2 | |
In [3]: from core.courses import questions | |
In [4]: questions.meaning_of_life() | |
Out[4]: 42 | |
In [5]: "Rewriting method" | |
Out[5]: 'Rewriting method' | |
In [6]: questions.meaning_of_life() | |
Out[6]: 'Learning' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment