4 ms·
You can use jupytext to maintain dual .py/.ipynb representation of notebooks and keep both versions in sync: https://github.com/mwouts/jupytext/blob/main/docs/
by stiff 4y ago
You can use jupytext to maintain dual .py/.ipynb representation of notebooks and keep both versions in sync:
https://github.com/mwouts/jupytext/blob/main/docs/paired-notebooks.md https://github.com/mwouts/jupytext/blob/main/docs/paired-not...
It works both ways, it can update the .py file each time you save the notebook, or you can edit the .py file and have the jupytext command line tool update the .ipynb.
- yasser_kaddoura 4y agoThis with https://github.com/untitled-ai/jupyter_ascending https://github.com/untitled-ai/jupyter_ascending + your Editor to have a supercharged notebook workflow.
- pen2l 4y agoOn the one hand: cool, if you're an avid emacsen or a vimmer, yeah, ok. OTOH, gosh that is such a cluttered and cumbersome setup. Just bring in vim/emacs bindings to your jupyter: https://github.com/lambdalisue/jupyter-vim-binding https://github.com/lambdalisue/jupyter-vim-binding. There's a handful of plugins, choose one. Whatever the final solution everyone decides should be, I just hope it doesn't involve having two redundant windows open side-by-side like that. Ideally, it should probably be instantiating an emacs client within Jupyter as that seems the most logical.