[🐍PyTricks]: Python's namedtuples can be a great alternative to defining a class manually

Preview text: # Why Python is Great: Namedtuples # Using namedtuple is way shorter than # defining a…

Dan BaderFriday, Mar 20, 2026 at 12:00 PM EasternDrip
Dan Bader[🐍PyTricks]: Python's namedtuples can be a great alternative to defining a class manually
Subject
[🐍PyTricks]: Python's namedtuples can be a great alternative to defining a class manually
Preview text
# Why Python is Great: Namedtuples # Using namedtuple is way shorter than # defining a…
From
mail@dbader.org
ESP
Drip
Sent
Fri Mar 20, 2026, 12:00 PM ET
Sent to
danbader.com, dbader.org
Size
30 KB
Images
2
Links
5, 2 of them buttons
Subject length
90 characters

Report this email

Sent just before and after

Oct 12, 2026 3:04 AM[🐍PyTricks]: Merging two dicts in Python 3.5+ with a single expression
Mar 21, 2026 2:00 PM5 tips for getting great at Python, fast
Mar 20, 2026 4:30 PMIn love, war, and open-source—never give up
Mar 20, 2026 12:00 PM[🐍PyTricks]: Python's namedtuples can be a great alternative to defining a class manually (this email)
Mar 18, 2026 2:00 PMis this The True Power Of Python?
Mar 18, 2026 12:00 PM[🐍PyTricks]: The get() method on Python dicts and its "default" arg
Mar 17, 2026 12:00 PM[🐍PyTricks]: picking up the basics of Python was the easy part?

More from Dan Bader

All Dan Bader emails

Get the Black Friday insights

We're collecting every Black Friday email from more than 50,000 brands as it lands. Get what we find: who starts first, the biggest discounts, and the subject lines that stand out.

Free. You'll get a confirmation email first, and you can unsubscribe anytime.