Recommended Python Books

Interesting Python Cookbook Recipes

Copyright 2010 by Stephen Vermeulen
Last updated: 2010 Jul 22
Interfacing Python with C and C++

amazing anna arithmetic async brick byte cad canvas classes complete controlling cx debug del dimensions dot dump element encode encoding evolution ffffff fold ga handle historical huge implemented implied inclusion indicator json launching manipulating movements mysql numeric ordered overriding pain parse plot quantities queue relational removing requests restriction resulting rpc safely showimage snow sql stdin tensor upload winamp wx
See also my main Python Programming web page.

The Python Cookbook site has many recipes for doing simple, complex and often amazing things with Python. Two books that contain selected collections of these recipes have also been published.

Python Cookbook, (second edition) by Alex Martelli, Anna Ravenscroft and David Ascher, 2005, ISBN 0596007973, O'Reilly. This is a collected set of recipes for doing all sorts of common (and not so common) tasks in Python. The recipes are grouped into task-specific chapters, so you can often just glance down the list of chapters and then skim the contents of one or two chapters to find what you are looking for. The recipes are usually less than a page long, often short enough to just type into the Python interpreter shell directly to play with, and come with a write up that will cover what the recipe does and go into details about any additional background material you might need to know.

If you are a lone programmer who's looking to get productive in Python fast, this is a good book to get. Its the sort of thing where you could find a solution in this book in 5 minutes that will save you a few hours of web searching and experimentation. If you've got a few people at work who use Python, then at least get one copy for the office, it'll pay for itself in one use.

The following list contains bookmarks to the recipes I have found useful or interesting. A lot of these are marked because the recipe demonstrated some technique or used some language or library feature that I felt might be useful someday, and rather than having to do a large search at a later date I have bookmarked the artical so I have a hope of finding it faster.

              back to home