On The Python Coding Stack, I experimented with some different styles of articles. The month started with The Mayor of Py Town’s Local Experiment: A Global Disaster.
This is Py Town looks like (thanks to Midjourney!) This town was a bit special and its Mayor liked to make a mess of things. The story leads to why variables in function definitions are local variables.
By the way, here’s the Mayor of Py Town.
Another rather different article was Clearing The Deque—Tidying My Daughter’s Soft Toys • A Python Picture Story. This post is a picture story which explains the differences between lists and deques in Python. If a picture is worth a thousand words, then this is the longest article I’ve ever written!
Another post on The Python Coding Stack combined the
turtle module with the
partial() function and
lambda functions to create a typewriter emulator: Tap, Tap, Tap on The Tiny
Another article looked at some Python quirks that can help us understand what happens underneath the hood in Python. This article, Python Quirks? Party Tricks? Peculiarities Revealed, is a paid article but there’s a substantial free preview.
The final two articles this month concluded two long-running series on The Stack
- The final article in the Harry Potter-themed OOP series: The Final Year at Hogwarts School of Codecraft and Algorithmancy (Harry Potter OOP Series #7)
- The final article in the Data Structure Category Series: Pay As You Go • Generate Data Using Generators (Data Structure Categories #7)
And for those interested in my experiments in narrative technical writing, you can read all five articles published in August on Breaking the Rules!