jupytext Command Examples

Convert Jupyter notebooks to plain text documents, and back again. More information: https://jupytext.readthedocs.io.

jupytext --set-formats ipynb,py {{notebook.ipynb}}

jupytext --to py {{notebook.ipynb}}

jupytext --to notebook {{notebook.py}}

jupytext --to notebook --execute {{notebook.md}}

jupytext --update --to notebook {{notebook.py}}

jupytext --sync {{notebook.ipynb}}