Python Cookbook and over one million other books are available for Amazon Kindle . Learn more

Buy Used
Used - Good See details
Price: £8.14

or
Sign in to turn on 1-Click ordering.
 
   
Have one to sell? Sell yours here
or
Get a £3.25 Amazon.co.uk Gift Card
Python Cookbook
 
 
Start reading Python Cookbook on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Python Cookbook [CD] [Paperback]

Alex Martelli , David Ascher
4.2 out of 5 stars  See all reviews (9 customer reviews)

Available from these sellers.


Formats

Amazon Price New from Used from
Kindle Edition £21.04  
Paperback £28.70  
Paperback, CD, 24 Nov 2008 --  
Trade In this Item for up to £3.25
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Python Cookbook for an Amazon.co.uk gift card of up to £3.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.
There is a newer edition of this item:
Python Cookbook Python Cookbook 4.2 out of 5 stars (9)
£28.70
In stock.


Product details

  • Paperback: 608 pages
  • Publisher: O'Reilly Media; 1 edition (24 Nov 2008)
  • Language English
  • ISBN-10: 0596001673
  • ISBN-13: 978-0596001674
  • Product Dimensions: 8.4 x 8.2 x 1.2 cm
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Bestsellers Rank: 223,381 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Cameron Laird, Unix Review.com, Jan 7, 2003

The 'Python Cookbook' is superb.

Review

"I have no reservations recommending this book." - Tim Penhey, Cvu, February 2003

Inside This Book (Learn More)
Browse and search another edition of this book.
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

Most Helpful Customer Reviews
16 of 16 people found the following review helpful
Format:Paperback
String handling, money, time, dates. Email, network sockets, cgi, xml. The staples of the cookbook, and Python Cookbook certainly has these. However, interspersed throughout are chapters that seem to have come from at least one other completely different book, a more discursive rumination on Python programming in general. Each chapter begins with a mini essay from a Python luminary, and the discussion of each recipe is fairly extensive.

If you do any scientific or engineering work, you'll know that Python is everywhere on the scientific desktop, providing bindings, scripting and GUI front ends for ancient Fortran/C monstrosities. Reflecting this interest, there is a strong emphasis on performance, with chapters devoted to algorithms and searching and sorting.

Elsewhere, those who have graduated from the plethora of beginner's books, but have been bemused by the complete lack of any intermediate texts, will be pleased to find chapters on Python shortcuts (getting the most out of sequences for the most part) and one on generators and iterators. Futher, there is a chapter on OOP the Python way (including examples of dynamic delegation and design patterns implementation), and one on metaclasses.

This is an extremely useful book, particularly the chapters on using Python's basic collections, which will furnish the reader with some essential idioms for efficient use. However, this, and the OOP chapters would have been better as a separate book. But in lieu of a Thinking in Python or Effective Python, you need this book if you want to do any serious development in Python.

As a cookbook, it has everything you will be expecting as a springboard for exploring the standard library, except for regular expressions. But these are so well covered in introductory books, that you won't need enormous coverage here. On the other hand, the material is presented in a fairly wordy manner, which makes for interesting reading, but for dipping in and out, makes finding things more difficult than it might be.

The other notable thing about Python Cookbook is that it has rather a large number of errors in it. You will want to check the O'Reilly website for the errata, especially if you don't have the most recent printing, rather than scratching your head over why the Singleton implementation doesn't work at all.

Nonetheless, this is a vital resource for Python 2.4 users; even if you don't think you need a traditional cookbook, there is an enormous amount of material here you can benefit from.
Comment | 
Was this review helpful to you?
8 of 8 people found the following review helpful
Format:Paperback
With cookbooks there is a danger of just reproducing in print a set of libraries that might have been more conveniently downloaded from a code repository. The "Python Cookbook" succeeds by concentrating on those idioms and techniques that can often be woven into various programs. In addition the accompanying commentaries usually do an excellent job of leaving the reader with a better understanding of the relevant issues rather than just being told "Do it this way". The value of the book is increased further by the well-written chapter introductions, which often yield deep insights into the Python way of doing things.
Comment | 
Was this review helpful to you?
6 of 6 people found the following review helpful
By Simon Ward VINE™ VOICE
Format:Paperback
Try as I might, I can't help comparing this with the excellent `Perl Cookbook'.

Like its Perl counterpart, the Python Cookbook presents a series of short `recipes' for doing certain tasks quickly but, unlike the `Perl Cookbook' the Python text suffers from being excessively verbose in places.

Some of the recipes have been taken from the Perl Cookbook and `pythonised' (the authors state as much) and as such this book is very good for programmers who are migrating from Perl to Python - some of the recipe explanations are very good indeed. As a result of this, the Cookbook is also a good reference for those starting out with Python.

Combine the Cookbook with David Beazley's `Python Essential Reference' and you've got a winning combination.

Recommended.

Comment | 
Was this review helpful to you?

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback