Subscribe
Sign in
Home
The Club
The Python Coding Place
Selected Series
Archive
About
Latest
Top
Discussions
Planning Meals, Weekly Shop, Alternative Constructors Using Class Methods
You can have more than one way of creating objects • alternative constructors using class methods
14 hrs ago
•
Stephen Gruppetta
4
1
Need a Constant in Python? Enums Can Come in Useful
Python doesn’t have constants. But it has enums
Jan 12
•
Stephen Gruppetta
10
1
2
December 2025
Mulled Wine, Mince Pies, and More Python
2025 in review here on The Python Coding Stack
Dec 31, 2025
•
Stephen Gruppetta
7
1
November 2025
My Life • The Autobiography of a Python Object
A short post showing Python from the eyes of object 0x101dd38c0
Nov 30, 2025
•
Stephen Gruppetta
13
1
3
And Now You Know Your ABC
How helping at my track club's championships led to Python Abstract Base Classes
Nov 1, 2025
•
Stephen Gruppetta
8
2
October 2025
Creating a Singleton Class in Python And Why You (Probably) Don’t Need It
Creating a singleton class is a great exercise to understand object creation in Python, but you’re unlikely to need it in your code.
Oct 14, 2025
•
Stephen Gruppetta
8
September 2025
The Networking Event (#4 in The itertools Series • `combinations()` and `permutations()`)
Yteria still can't utter or write the word "for", but she offered to write some code to help organise a networking event
Sep 21, 2025
•
Stephen Gruppetta
8
1
August 2025
When You No Longer Need That Object • Dealing With Garbage in Python
Let's explore reference counting and cyclic garbage collection in Python
Aug 29, 2025
•
Stephen Gruppetta
10
1
Flashy, Fancy Shortcuts Aren't Always Suitable [Python Shorts]
A Python Shorts post about a shortcut that's often overused
Aug 3, 2025
•
Stephen Gruppetta
13
1
1
July 2025
Do You Really Know How `or` And `and` Work in Python?
Let's explore the Python expression `5 or 0`
Jul 18, 2025
•
Stephen Gruppetta
16
2
1
Python Backstage • Disassembling Python Code Using the `dis` Module
Let's look behind the scenes to see what happens when you run your Python (CPython) code
Jul 8, 2025
•
Stephen Gruppetta
11
2
June 2025
I Want to Remove Duplicates from a Python List • How Do I Do It?
Lists can have duplicate values. But sometimes, you don't want repeated items. Let's explore how to deal with this.
Jun 20, 2025
•
Stephen Gruppetta
21
6
5
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts