I saw a post on Mastodon yesterday about how Tom Lehrer recently put all his music, lyrics, and sheet music into the public domain, and also made them freely downloadable from his website. […] That’s a lot of clicking that I didn’t want to do, so I put together a small python script to download the PDF files for me.
In one of my recent articles, “Life, Blog Stats, and {No} Profit”, I gave a breakdown on the number of visitors to my blog since I first created it in 2018. Today I want to focus on generating some of that data from the web server access logs themselves.
When you’re learning to code, loops are one of those things that tend to trip people up a few times before they get the hang of it. There are a few different types of loops, but today we’re going to focus on the “for” loop.