[🐍PyTricks]: You can use "json.dumps()" to pretty-print Python dicts
Preview text: ... (as an alternative to the "pprint" module) # The standard string repr for dicts is…
![[🐍PyTricks]: You can use "json.dumps()" to pretty-print Python dicts - email from Dan Bader](https://img.theysentit.com/dan-bader/5705124.jpg)
Using this email in an article? Credit: Dan Bader email via They Sent It, with a link to this page. Full-size image
- Subject
- [🐍PyTricks]: You can use "json.dumps()" to pretty-print Python dicts
- Preview text
- ... (as an alternative to the "pprint" module) # The standard string repr for dicts is…
- From
- mail@
dbader.org - Brand
- Dan Bader
- ESP
- Drip
- Sent
- Sun Oct 25, 2026, 12:00 PM ET
- Sent to
- danbader.com
- Size
- 25 KB
- Images
- 2
- Links
- 4, 2 of them buttons
- Subject length
- 69 characters
Email headers
What the brand's servers put on this email. Our receiving servers, the address we subscribed with and unsubscribe links are left out.
- From
- Dan Bader <[email protected]>
- Subject
- [🐍PyTricks]: You can use "json.dumps()" to pretty-print Python dicts
- Date
- Sun, 25 Oct 2026 16:00:00 +0000 (UTC)
- Message-ID domain
- geopod-ismtpd-94
- Return-Path domain
- drip.dbader.org
- DKIM signature
- d=dbader.org s=s1
- List-Unsubscribe
- Present, one-click
Servers it passed through, newest first
- by recvd-…-25h2f with SMTP
- from (unnamed) by geopod-ismtpd-94 with HTTP
Other sending headers (names only): X-Drip-SendingAccount, X-SG-EID, X-SG-ID, X-Entity-ID
Sent just before and after
| Oct 30, 2026 2:00 PM | the Python ecosystem + an easy mistake to make | |
| Oct 28, 2026 12:00 PM | [🐍PyTricks]: Function argument unpacking in Python | |
| Oct 27, 2026 2:00 PM | Hindsight is 20/20 for Pythonistas | |
| Oct 25, 2026 12:00 PM | [🐍PyTricks]: You can use "json.dumps()" to pretty-print Python dicts (this email) | |
| Oct 24, 2026 2:00 PM | A "Pythonic" rant? | |
| Oct 22, 2026 12:00 PM | [🐍PyTricks]: Try running "import this" inside a Python REPL ... | |
| Oct 20, 2026 2:00 PM | 5 tips for getting great at Python, fast |
More from Dan Bader
All Dan Bader emails5 tweaks for your Python dev setup you should make today
Nov 6, 2026 2:00 PM
[🐍PyTricks]: A Python riddle – What will this strange dict expression evaluate to?
Nov 6, 2026 12:00 PM
Why you need an efficient Python development setup
Nov 3, 2026 2:00 PM
[🐍PyTricks]: Python's shorthand for in-place value swapping
Nov 3, 2026 12:00 PM
[🐍PyTricks]: Measure the execution time of small bits of Python code with the "timeit" module
Oct 31, 2026 12:00 PM
Oct 30, 2026 4:30 PM
the Python ecosystem + an easy mistake to make
Oct 30, 2026 2:00 PM
[🐍PyTricks]: Function argument unpacking in Python
Oct 28, 2026 12:00 PM
Sent the same day by similar brands
Same ESP and the closest weekly volume, sent on Oct 25, 2026.

![[🐍PyTricks]: A Python riddle – What will this strange dict expression evaluate to? - email from Dan Bader](https://img.theysentit.com/dan-bader/6573437.t.jpg)

![[🐍PyTricks]: Python's shorthand for in-place value swapping - email from Dan Bader](https://img.theysentit.com/dan-bader/6334755.t.jpg)
![[🐍PyTricks]: Measure the execution time of small bits of Python code with the "timeit" module - email from Dan Bader](https://img.theysentit.com/dan-bader/6146431.t.jpg)


![[🐍PyTricks]: Function argument unpacking in Python - email from Dan Bader](https://img.theysentit.com/dan-bader/5903702.t.jpg)
