Stephen Gruppetta
banner
stephengruppetta.com
Stephen Gruppetta
@stephengruppetta.com
Constantly looking for simple ways to explain complex things…

Here you'll find:
• Python
• Narrative Technical Writing
• Track & Field Athletics

Links in the pinned post below

stephengruppetta.com
In the last few days, I was discussing the Apollo 11 and 13 missions with my daughter and, separately, someone asked me for my lunar landing project

Clearly a sign from the stars (Ha!)

So, here's a preview and the link to the article

thepythoncodingstack.substack.com/p/python-tur...
November 11, 2025 at 10:18 AM
Who doesn’t love receiving feedback…

Are *you* subscribed to The Python Coding Stack?

www.thepythoncodingstack.com
November 4, 2025 at 2:40 PM
This post is not about tuples. It’s not about lists or strings, either!

(Preview)
www.thepythoncodingstack.com/p/are-tuples...
October 20, 2025 at 6:17 PM
Hurray. Lucky 13 rising in technology on Substack

(There’s a reason for this happening now, and I know it will be short-lived, but that won’t stop me from celebrating anyway, no matter how brief)
October 16, 2025 at 7:40 PM
I’ve dropped my phone one time too many… the brightly-coloured lines look cool, but it’s not quite the look I want for my iPhone display!
October 14, 2025 at 7:17 PM
It’s time to sprint. Where do you start?

You start from standing still. That’s how all sprinting starts. Your velocity is zero. You need to increase your velocity. You need to accelerate.

1/n
September 29, 2025 at 9:07 AM
I think you may find this interesting even if you don’t care about sprinting. Here’s the first part of How to Sprint: Understanding Biomechanics

…and as you’d expect, I wrote it in my own casual and narrative style.

backonthetrack.substack.com/p/1-its-time...
September 28, 2025 at 9:51 PM
I have three very different publications. One has 6,000 subscribers. Another has 250. The third has 16.

But what are the similarities?

breakingtherules.substack.com/p/an-audienc...
September 12, 2025 at 12:21 PM
And we're left with two objects that cannot be accessed, since the only way to access Marge is through the Homer object and–you got this–the only way to access Homer is through the Marge object!

Both objects are unreachable

…but they still have a non-zero reference count!
August 29, 2025 at 5:52 PM
```
del marge
```
August 29, 2025 at 5:52 PM
```
del homer
```
August 29, 2025 at 5:52 PM
```
homer.spouse = marge
```
August 29, 2025 at 5:52 PM
```
marge = Person(
name="Marge Simpson",
unique_id="marge002",
spuse=homer,
)
```
August 29, 2025 at 5:52 PM
Here's a visual summary of the article I just published on The Python Coding Stack - follow the thread…one image per post

"When You No Longer Need That Object • Dealing With Garbage in Python"

```
homer = Person(
name="Homer Simpson",
unique_id="homer001",
spouse=None,
)
```
August 29, 2025 at 5:52 PM
The majority who read this post needed to read this post.

Great–that's the whole point of writing these posts!

www.thepythoncodingstack.com/p/do-you-rea...
August 18, 2025 at 6:14 AM
The "Having a post liked by a celebrity" feel…

…and it probably also means my analysis (of the final 50m of the Lyles v Bednarek 200m at last weekend's US trials) was spot on. If Ato thinks so, I must be right!
August 7, 2025 at 9:01 AM
Starting soon. If you're a Python beginner, join me for this free @realpython.com hands-on workshop

realpython.com/live
August 6, 2025 at 3:02 PM
Tomorrow, Wed 6th, join me for a free @realpython.com workshop for beginners

We'll build an arcade-style video game, and you'll learn lots of Python programming basics along the way

And let's see who'll have the highest score at the end!

Register here: realpython.com/live
August 5, 2025 at 7:20 AM
Here’s the poll at the start of my latest article. The results are interesting. I’m glad I wrote this article!

You can answer here (or just see the results): www.thepythoncodingstack.com/p/do-you-rea...
July 21, 2025 at 6:00 AM
Time for some Sunday morning reading…
June 29, 2025 at 8:08 AM
…this gives three separate iterables again (tuples)
May 31, 2025 at 10:17 PM
7. And zip these four tuples together (but since they're stored in a list, you first need to unpack the list using the unpacking operator `*`)
May 31, 2025 at 10:17 PM
6. Add zips (zippers) to all four tuples
May 31, 2025 at 10:17 PM
5. Sort by age
[Note: these tuples are stored in a list, which is what `sorted()` returns]
May 31, 2025 at 10:17 PM
4. Now you have four separate groupings (they're four tuples)
May 31, 2025 at 10:17 PM