Notebook alternatives?

Has anyone found a notebook alternative that means I don’t have to restart my kernel all the time and I don’t have to recode in VS code?! Feel like this should be a solved problem but maybe Im missing something…

That’s a rather vague question.

What part of the workflow of interest requires frequent kernel restarts? Some kernels offer features to reduce this, such as IPython’s %autoreload:

%reload_ext autoreload
%autoreload 2

This will make a best-effort attempt to refresh changed upstream files.

Also in Python, for multi-notebook workflows, this can pair nicely with importnb, which allows importing notebooks as modules:

import importnb
with importnb.Notebook():
   import some_other_notebook
1 Like