Python
Python is a programming language which is especially popular for automation, making websites, and scientific computing. It’s the first programming language I ever learnt, and I’m better in Python than any other language.
3 articles
Creating Caddyfiles with Cog
Cog is a tool for doing in-place text generation for static files. It’s useful for generating repetitive config, like my web server redirects.
Create space-saving clones on macOS with Python
You can shell out to
cp -cusingsubprocess, or you can make aclonefile()syscall using thectypeslibrary.Handling JSON objects with duplicate names in Python
It’s possible, although uncommon, for a JSON object to contain the same name multiple times. Here are some ways to handle that in Python.
1 note
Python f-strings cheat sheet
Some Python f-string examples that I find helpful.
