[🐍PyTricks]: How to sort a Python dict by value
Preview text: # How to sort a Python dict by value # (== get a representation sorted by value) >>> xs =…
![[🐍PyTricks]: How to sort a Python dict by value - email from Dan Bader](https://img.theysentit.com/dan-bader/4617878.jpg)
- Subject
- [🐍PyTricks]: How to sort a Python dict by value
- Preview text
- # How to sort a Python dict by value # (== get a representation sorted by value) >>> xs =…
- From
- mail@
dbader.org - Brand
- Dan Bader
- ESP
- Drip
- Sent
- Wed Oct 14, 2026, 12:00 PM ET
- Sent to
- danbader.com, dbader.org
- Size
- 23 KB
- Images
- 2
- Links
- 4, 2 of them buttons
- Subject length
- 48 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]: How to sort a Python dict by value
- Date
- Wed, 14 Oct 2026 16:00:00 +0000 (UTC)
- Message-ID domain
- geopod-ismtpd-26
- 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-…-7thh8 with SMTP
- from (unnamed) by geopod-ismtpd-26 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 17, 2026 12:00 PM | [🐍PyTricks]: The get() method on Python dicts and its "default" arg | |
| Oct 16, 2026 12:00 PM | [🐍PyTricks]: picking up the basics of Python was the easy part? | |
| Oct 14, 2026 2:00 PM | A path to "Python mastery" | |
| Oct 14, 2026 12:00 PM | [🐍PyTricks]: How to sort a Python dict by value (this email) | |
| Oct 13, 2026 12:00 PM | [🐍PyTricks]: Different ways to test multiple flags at once in Python | |
| Oct 12, 2026 3:32 AM | Python 4.0 | |
| Oct 12, 2026 3:04 AM | [🐍PyTricks]: Merging two dicts in Python 3.5+ with a single expression |
More from Dan Bader
All Dan Bader emails[🐍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
Hindsight is 20/20 for Pythonistas
Oct 27, 2026 2:00 PM
[🐍PyTricks]: You can use "json.dumps()" to pretty-print Python dicts
Oct 25, 2026 12:00 PM
Oct 24, 2026 2:00 PM
[🐍PyTricks]: Try running "import this" inside a Python REPL ...
Oct 22, 2026 12:00 PM
Sent the same day by similar brands
Same ESP and the closest weekly volume, sent on Oct 14, 2026.
![[🐍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)

![[🐍PyTricks]: You can use "json.dumps()" to pretty-print Python dicts - email from Dan Bader](https://img.theysentit.com/dan-bader/5705124.t.jpg)

![[🐍PyTricks]: Try running "import this" inside a Python REPL ... - email from Dan Bader](https://img.theysentit.com/dan-bader/5526097.t.jpg)


