Recommended Python Books

Interesting Python Cookbook Recipes

Copyright 2010 by Stephen Vermeulen
Last updated: 2010 Jan 29
Interfacing Python with C and C++





511444 576696 770 802 anna approximation async byte closest committed context crawler demonstrates dimensions duplicate engineering ensure executable executing explorer finance generic graph handler implementations important interactive letter locking match mixin nested numpy ordered phtml pipes plot productive properly pypdf pyzine recreate recursive representation resulting sep shortcuts solving stacked stepping str structured task tread unused variation watermarks win32file xmlrpc
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 vermeulen.ca home