Simon Willison’s Weblog

Subscribe

15th January 2024

TIL Using pprint() to print dictionaries while preserving their key order — While parsing a CSV file using `csv.DictReader` today I noticed the following surprising result:

This is a beat by Simon Willison, posted on 15th January 2024.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe