Tool to convert Jupyter notebooks to plain text documents, and…
Tool to convert Jupyter notebooks to plain text documents, and back again. More information: https://jupytext.readthedocs.io/en/latest/.
.ipynb
/.py
notebook:jupytext --set-formats ipynb,py {{notebook.ipynb}}
.py
file:jupytext --to py {{notebook.ipynb}}
.py
file to a notebook with no outputs:jupytext --to notebook {{notebook.py}}
.md
file to a notebook and run it:jupytext --to notebook --execute {{notebook.md}}
jupytext --update --to notebook {{notebook.py}}
jupytext --sync {{notebook.ipynb}}