8 ms·
There is also a wonderful extension to IPython, namely autoreload: http://ipython.org/ipython-doc/dev/config/extensions/autoreload.html http://ipython.org/ipyth
by klibertp 14y ago
There is also a wonderful extension to IPython, namely autoreload: http://ipython.org/ipython-doc/dev/config/extensions/autoreload.html http://ipython.org/ipython-doc/dev/config/extensions/autorel...
I use it with level 1 and %aimport magic all the time and it's really sweet, especially with %ed. It probably does not work well with Django models however. You could use deep_reload: http://ipython.org/ipython-doc/stable/api/generated/IPython.lib.deepreload.html http://ipython.org/ipython-doc/stable/api/generated/IPython.... but I'm not sure if it would be enough.