Dive Into Python reborn
17th September 2003
Sweet. Mark Pilgrim is working on Dive Into Python again, funded by a dead tree publisher for publication in 2004 (hopefully). The free version will stay available as well. I’ve always preferred reading paper to reading a screen so I’m definitely down for a copy.
If you haven’t read Dive Into Python yet, you’ve been sorely missing out. It’s all good, but the sections I’ve found most useful are as follows:
- 1.13. Mapping lists and 2.5. Filtering lists—a full explanation of list comprehensions.
- 2.6. The peculiar nature of and and or—almost a tertiary statement for Python.
- Chapter 6. Unit Testing—the best explanation of unit testing I’ve ever read, with a great practical example of the technique in action.
More recent articles
- Comma v0.1 1T and 2T - 7B LLMs trained on openly licensed text - 7th June 2025
- The last six months in LLMs, illustrated by pelicans on bicycles - 6th June 2025
- Tips on prompting ChatGPT for UK technology secretary Peter Kyle - 3rd June 2025