Subscribe
Sign in
Home
The Python Coding Place
Selected Series
Archive
About
Latest
Top
Discussions
I Want My Own Fancy F-String Format Specifiers… Sure You Can
You're familiar (perhaps) with the format specifiers you can use in f-strings, such as `{:0.2f}`. But can you create your own?
Mar 19
•
Stephen Gruppetta
7
Share this post
The Python Coding Stack
I Want My Own Fancy F-String Format Specifiers… Sure You Can
Copy link
Facebook
Email
Notes
More
2
Loss of Words • A Nested Journey (# 1 in The `itertools` Series • `product()`)
Follow Yteria on her troubled journey, explore her unusual world in this first article in The `itertools` Series. Discover `itertools.product()` and…
Mar 9
•
Stephen Gruppetta
16
Share this post
The Python Coding Stack
Loss of Words • A Nested Journey (# 1 in The `itertools` Series • `product()`)
Copy link
Facebook
Email
Notes
More
5
February 2025
Counting: How Hard Can it Be?
The fascinating subtleties of counting in Python
Feb 26
•
Stephen Gruppetta
5
Share this post
The Python Coding Stack
Counting: How Hard Can it Be?
Copy link
Facebook
Email
Notes
More
Hermione's Undetectable Extension Charm: Revealed (Using Python)
How could Hermione possibly fit all those things in her small handbag in HP:DH? It's linked to objects and their references in Python, of course
Feb 15
•
Stephen Gruppetta
7
Share this post
The Python Coding Stack
Hermione's Undetectable Extension Charm: Revealed (Using Python)
Copy link
Facebook
Email
Notes
More
The One About the £5 Note and the Trip to the Coffee Shop • The Difference Between `is` and `==` in Python
Many misunderstand the `is` keyword in Python and use it in situations when `==` is more appropriate. Let's explore this through a recent trip to a…
Feb 9
•
Stephen Gruppetta
4
Share this post
The Python Coding Stack
The One About the £5 Note and the Trip to the Coffee Shop • The Difference Between `is` and `==` in Python
Copy link
Facebook
Email
Notes
More
On Shared Birthdays (and a Bit on Pythagorean Triplets) • Pythonic Code
A Python journey through probabilities, `itertools`, and some more Pythonic tools–and yes, we'll explore the Birthday Paradox
Feb 2
•
Stephen Gruppetta
14
Share this post
The Python Coding Stack
On Shared Birthdays (and a Bit on Pythagorean Triplets) • Pythonic Code
Copy link
Facebook
Email
Notes
More
January 2025
The Shortest Python `import` Tutorial • A Picture Story
A short, visual tour of different ways of using Python's `import`
Jan 22
•
Stephen Gruppetta
13
Share this post
The Python Coding Stack
The Shortest Python `import` Tutorial • A Picture Story
Copy link
Facebook
Email
Notes
More
6
Choose Your Fighter • Inheritance vs. Composition (#2 in Inheritance vs Composition Pair)
The second article in the inheritance vs composition pair • Compare and contrast
Jan 16
•
Stephen Gruppetta
8
Share this post
The Python Coding Stack
Choose Your Fighter • Inheritance vs. Composition (#2 in Inheritance vs Composition Pair)
Copy link
Facebook
Email
Notes
More
Choose Your Fighter • Let's Play (#1 in Inheritance vs Composition Pair)
The first in the inheritance vs composition pair of articles • Step-by-step tutorial to set up the inheritance version of this `turtle` game
Jan 16
•
Stephen Gruppetta
8
Share this post
The Python Coding Stack
Choose Your Fighter • Let's Play (#1 in Inheritance vs Composition Pair)
Copy link
Facebook
Email
Notes
More
December 2024
A Python Christmas
Last article of the year and a Python Christmas tree or two (using turtle, of course)
Dec 22, 2024
•
Stephen Gruppetta
8
Share this post
The Python Coding Stack
A Python Christmas
Copy link
Facebook
Email
Notes
More
2
The Storeroom
An appendix to my favourite Python programming analogy—The White Room analogy
Dec 17, 2024
•
Stephen Gruppetta
5
Share this post
The Python Coding Stack
The Storeroom
Copy link
Facebook
Email
Notes
More
When a Duck Calls Out • On Duck Typing and Callables in Python
Functions and classes have something in common: they're callable • Python's duck typing
Dec 7, 2024
•
Stephen Gruppetta
11
Share this post
The Python Coding Stack
When a Duck Calls Out • On Duck Typing and Callables in Python
Copy link
Facebook
Email
Notes
More
3
Share
Copy link
Facebook
Email
Notes
More
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts