Graduation at Hogwarts and Other Python Stories | August in Review

August is a quiet month, right? Well, not at The Python Coding Stack and Breaking the Rules, my two Substacks. 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… Continue reading Graduation at Hogwarts and Other Python Stories | August in Review

Lots of Special Methods. And a Special Article | July in Review

I was expecting this month's review to cover fewer articles than previous months. It is July, after all. But then, I launched my second Substack last month, Breaking the Rules, which means I now have two sets of articles coming out every month. It may not have been the smartest move to launch the new… Continue reading Lots of Special Methods. And a Special Article | July in Review

More Python Magic and More Stories | June in Review

What a month. June has been very busy. And that's an understatement. Where shall I start? Interviews and Podcasts I was honoured to be invited to two interviews in June. Mike Driscoll, one of the leading figures in the world of Python communication, kindly invited me as one of the first guests on his new… Continue reading More Python Magic and More Stories | June in Review

Breaking the Rules — My Thoughts on Narrative Technical Writing

If you read my Python articles regularly—and thank you if you do—you'll know that I try to present content from a somewhat different perspective. I don't like writing classic "textbook-type" tutorials and articles. I've been reading and thinking a lot about my writing over the years. I've decided to start journaling those ideas and thoughts,… Continue reading Breaking the Rules — My Thoughts on Narrative Technical Writing

Introducing The Stack, From Harry Potter and OOP to Data Structures | April in Review

The Python Coding Place is taking shape nicely. I'm doing a rolling launch, making bits of it available as they're ready. The "official launch" will happen when we launch the website and give The Place its visual look and feel. However, the look and feel of the content at The Python Coding Place is clear… Continue reading Introducing The Stack, From Harry Potter and OOP to Data Structures | April in Review

What’s a Python Iterable? [Python Data Structure Series #1]

Old boxes - image used in Python data structure series

Note: This article has now moved here: Iterable: Python's Stepping Stones – What makes an iterable iterable? Part 1 of the Data Structure Categories Series Here's an introduction to the article: You're familiar with data structures such as lists, dictionaries, tuples, sets, and more. You may even know about the similarities and differences between their… Continue reading What’s a Python Iterable? [Python Data Structure Series #1]

Anatomy of a 2D Game using Python’s turtle and Object-Oriented Programming

2D Python game

When I was young, we played arcade games in their original form on tall rectangular coin-operated machines with buttons and joysticks. These games had a resurgence as smartphone apps in recent years, useful to keep one occupied during a long commute. In this article, I'll resurrect one as a 2D Python game and use it… Continue reading Anatomy of a 2D Game using Python’s turtle and Object-Oriented Programming

The Python Coding Place Is Coming Soon…

The Python Coding Place "Coming Soon" Banner

Allow me a rare blog post which is not about some Python topic or a step-by-step tutorial. We're excited that The Python Coding Place is coming soon. As the name says, this will be the place to learn to code in Python. In this brief post, I'll highlight what The Place is all about The… Continue reading The Python Coding Place Is Coming Soon…

Argh! What are args and kwargs in Python? [Intermediate Python Functions Series #4]

cogs and wheels used to represent functions in the args and kwargs in Python article

In the first three articles in this Series, you familiarised yourself with the key terms when dealing with functions. You also explored positional and keyword arguments and optional arguments with default values. In this article, you'll look at different types of optional arguments. Rather unfortunately, these are often referred to by the obscure names args… Continue reading Argh! What are args and kwargs in Python? [Intermediate Python Functions Series #4]

How Do They Build The Starships in Star Trek? Classes and Objects in Python

Star Trek Spaceships in a Wormhole

With so many new Star Trek series coming out at the moment and in the near future, new and old Trekkies are all asking the same question: How do they build the starships in the Star Trek universe? Or maybe it's just me? This article will boldly go on a journey through classes and objects… Continue reading How Do They Build The Starships in Star Trek? Classes and Objects in Python