Author/s : David Beazley, Brian K. Jones
Publisher : O'Reilly Media
Category :
Other
Review by : Jeanne Boyarsky
Rating : 9 horseshoes
The "Python Cookbook" (3rd edition) is over 600 pages full of content. The recipes vary extensively in difficulty and scope. From simple
string concatenation to writing a (BNF) recursive decent parsers.
The book covers Python 3.3. The authors warn some recipes aren't backward compatible with 2.X. While I would have liked more on the transition, I'm not a Python developer - I just do some scripts. It's entirely possible nobody cares about compatibility.
My favorite recipe was on CSV. Paring was shown but a library was also covered along with the reasons to not implement it yourself.
The recipes assume a working knowledge of Python. I have just enough knowledge to be able to follow them. And the book is a great resource with common idioms and techniques. It is certainly an advanced book and I highly recommend it. (If you are starting out with Python, I recommend reading "Think Python" first.)
---
Disclosure: I received a copy of this book from the publisher in
exchange for writing this review on behalf of CodeRanch.
More info at Amazon.com