Created
August 3, 2016 07:00
-
-
Save maxtortime/650fe6598bd862a930b162f5322cc835 to your computer and use it in GitHub Desktop.
ipython authoreload
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 foo import some_function | |
In [4]: some_function() | |
Out[4]: 42 | |
In [5]: # open foo.py in an editor and change some_function to return 43 | |
In [6]: some_function() | |
Out[6]: 43 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment