Python notes and snippets

The following resources were utilised to develop the snippets and notes below. Other links are also available inline with the text. The Mouse v/s The Python – Mike Driscoll’s website Real Python email newsletters, books, courses. Howard Abram’s video on literate dev-ops using Emacs, as well as his blog posts in general Python cookbook :…

Overall – these appear sensible guidelines to follow, though they do not dig deeper into production related tips. Also discovered the nbdime (https://github.com/jupyter/nbdime) through this article. https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1007007

Jupyter notebooks to Org source + Tower of Babel

This post provides a simple example demonstrating how a shell script can be called with appropriate variables from any Org file in Emacs. The script essentially converts a Jupyter notebook to Org source, and Babel is leveraged to call the script with appropriate variables from any Org file. This reddit thread and blog post elucidate…