News for hackers. Stuff that matters.
Re:Runme – Interactive Runbooks Built with Markdown by enriquto on Friday August 25, 2023 @05:40AM (#37259797)
Also, often you don't need to save your Jupyter notebook in the unergonomical json format; instead save it as a script containing your code cells (and the markdown cells as comments). Thus you can run it directly from the command line in whatever language your notebook is, python, bash... To save notebooks as plain text files you pip install jupytext, and it magically works: jupyter will interpret your .py files as notebooks, and so on.

There are no comments on this comment yet.