Jupyter is main reason I can work in Python now...previously disliked that couldn't 'live code' in it very easily. 1/2
-
-
And then: https://ipython.org/ipython-doc/3/config/extensions/autoreload.html … Never tried it myself, but it makes sense.
-
I didn’t have a good experience with autoreload recently. Always possible I was doing something wrong but I seemed to get stale code.
-
But you can manually check if a module is present and force a reload with any magic commands. That seems more reliable.
-
%autoreload does not reload changes that are upstream of your imported modules, which can be surprising
End of conversation
New conversation -
-
-
or `pip install -e .` if you want to be able to remove the package cleanly
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
That sounds super helpful. Didn’t know about it!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.