I'm surprised Python lets your repeatedly close a file without complaint. "I'll make doubly sure!"
Related Posts
I frequently find myself running:
$ slowish
$ slowish | jq
$ slowish | jq | grep
I feel there must be a better way to build up pipelines incrementally without re-running.
I could save each output to a file, but it's more verbose, and most of these tools have nicer output when stdout is a TTY.
One cute feature of markdown I'd not noticed before: there's no syntax for images *without* a description (i.e. alt text).

https://spec.commonmark.org/0.31.2/#images
I'm playing with DOT output for debugging syntax trees from difftastic. Here's an F# snippet, the Debug representation, and the DOT rendered as an image.
I'm pleased with the information density on the graphic, but we'll see how often I end up using it.