Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhbradshaw/6fb969c04e774ab1767dc85a2278f154 to your computer and use it in GitHub Desktop.
Save dhbradshaw/6fb969c04e774ab1767dc85a2278f154 to your computer and use it in GitHub Desktop.
Easy reloading in ipython
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