Comment

Comment by stiff

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-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.

parent stiff 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton