Hacker News new | ask | show | jobs
by qacek 3046 days ago
I see, well you might get a better answer from a Jupyter dev. I use the autoreload extension to automagically pull in my lastest code [1]. It usually works. For your second question you can connect multiple frontends to the same kernel [2].

[1] https://ipython.readthedocs.io/en/stable/config/extensions/a...

[2] https://jupyter-notebook.readthedocs.io/en/stable/examples/N...

1 comments

Thanks, yes I'm somewhat familiar with the story under the current jupyter notebook. E.g. when I'm feeling very energetic, I sometimes manage to come up with the right series of shell invocations to get a notebook running in a browser and a terminal python shell sharing the same kernel via `jupyter console --existing`, with the right python version and virtualenv. Or even have the shell running in emacs, though there's usually something broken somewhere along the way in my setup.

I'm vaguely aware of autoreload but it seemed a bit confusing; there are various similar-sounding alternatives.