Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Python Cookbook Paperback – Jul 29 2002


See all formats and editions Hide other formats and editions
Amazon Price New from Used from
Paperback
"Please retry"
CDN$ 44.19 CDN$ 5.25

There is a newer edition of this item:

Python Cookbook
CDN$ 32.92
(1)
In Stock.

Best Books of 2014
Unruly Places, Alastair Bonnett’s tour of the world’s most unlikely micro-nations, moving villages, secret cities, and no man’s lands, is our #1 pick for 2014. See all

Customers Who Bought This Item Also Bought



Artists to Watch


Product Details

  • Paperback: 608 pages
  • Publisher: O'Reilly Media; 1 edition (July 29 2002)
  • Language: English
  • ISBN-10: 0596001673
  • ISBN-13: 978-0596001674
  • Product Dimensions: 17.8 x 2.8 x 23.3 cm
  • Shipping Weight: 880 g
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Bestsellers Rank: #900,240 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

Review

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

From the Publisher

The Python Cookbook is a collection of problems, solutions, and practical examples for Python programmers, written by Python programmers. It contains over two hundred recipes for text manipulation, object oriented programming, XML processing, system administration, and much more. This book is a treasure trove of useful code for both novices and advanced practitioners, with contributions from such Python luminaries as Guido Van Rossum, Tim Peters, Paul Prescod, and Mark Hammond.

Customer Reviews

5.0 out of 5 stars
5 star
9
4 star
0
3 star
0
2 star
0
1 star
0
See all 9 customer reviews
Share your thoughts with other customers

Most helpful customer reviews

2 of 3 people found the following review helpful By Alessandro Bottoni on Oct. 11 2002
Format: Paperback
Of the many successes of Python, this is the least known but one of the most impressive: it has gained the affection and the respect of a hard guy like Alex Martelli. That is not an easy task for a small, interpreted programming language like Python.
When I first met Alex Martelli, at Think3, he was one of the oldest and most experienced programmers of the company, a programmer who had already used most of the existing languages and had used these languages for the development of large and complex applications, the kind of projects that took months or years to complete. He knew Perl very, _very_ well and was used to rely on a robust, elegant and sophisticated language like C++ for the development of his applications (like Think3's Thinkdesign, a very complex 3D CAD program). He was writing a _lot_ of software, using a large array of different languages and tools. He was a well respected internal consultant at Think3, charged to solve difficult problems related to the software architecture of the program being developed. He was not an easy guy to impress with "yet another small language".
Despite this, Python has gained some room in his heart. I consider this fact as one of the most significant success of this elegant and powerfull language. To be completely honest, I'm not completely surprised by this ending.
Alex Martelli is the kind of scientist and professional that appreciate elegance, wherever he can see it. The taste for elegance, the ability to take pleasure in elegance, is an important part of the scientist and engineer personality. It is hard to be a really good software professional without having any kind of interest for elegance. When you need a simple tool that can face complex problems, you are asking for elegance.
Read more ›
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
2 of 3 people found the following review helpful By "neurorat" on Oct. 15 2002
Format: Paperback
This is one of those rare books that is all meat and no fat. It is a wonderful collection of relevant and useful solutions for many programming problems that you will face, and many that you probably just figured were too hard to solve. It is clearly laid out, so finding a needed solution is easy.
One of the most powerful benefits of owning this book is astonishing amount of knowledge you can pick up by browsing it. With almost every recipe I discovered either a new approach to doing something with Python, that was far more elegant than what I would have thought of, or something that I didn't even consider was possible. It covers a vast array of important topics, from text processing, threads, object-oriented programming, and much more.
In short buy this book, grab a drink, and have a nice long sit-down session with it. You'll love every page of it.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback Verified Purchase
Like all O'Reilly texts, this one is well-written and easy to use. I bought it to improve my Python skills and to be able to look at quality examples of common Python applications. It also explains common pitfalls. Obviously this is not a text useful for learning the basics to Python (there's another great O'Reilly text for that).
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
1 of 2 people found the following review helpful By Edward K. Ream on Oct. 11 2002
Format: Paperback
This book is a superbly edited collection of recipes that originally appeared online containing corrections and updates to the programs, much added discussion, many additional recipes, and fourteen extended chapter introductions. Each snippet is first briefly introduced, then completely and clearly discussed at length. The explanations are easy for beginners to understand, without being in the least condescending, while offering a huge feast for more experienced programmers.
This book has garnered rave reviews on comp.lang.python, the internet newsgroup devoted to Python. Some examples:
"The book is uniformly fantastic, congratulations to the authors!"
"I should note that this is not much like a usual Cookbook, which offers quick "do things this way" recipes to follow, almost blindly. Instead it offers deep discussions of various approaches and uses state-of-the-art techniques (e.g., list comprehensions) that may not be at all obvious to newcomers."
"I would recommend something like Learning Python as a first book. But then Python Cookbook is the second book to get, or the first for those who have been with the language a while."
"I am sure it will be a long time before I have exhausted it. As someone whose recipes were accepted for publication I can only say that, given all the changes and enhancements, the editors were generous in their credits."
"You could actually leave out the code, change the title to 'The Python Philosophy' and still have a really valuable book."
To which the reply was:
"Nowhere quite as valuable, in my humble opinion. It's not just the 200+ recipes, it's the numerous snippets that show very directly how to do one thing or another...
Read more ›
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
1 of 2 people found the following review helpful By Ales Kavsek on Jan. 17 2004
Format: Paperback
This book is based on ActiveState on-line library of python recipes which were selected and edited by two well known experts, industry veteran Alex Martelli and David Ascher, with the help from other Python experts.
Recipes are organized in seventeen chapters. Chapters begin with short introduction on the topic covered, and is well worth the reading alone (even if you're primarily interested on a specific recipe take the time and read the introduction text). Each recipe is comprised of four sections: Problem definition -> Solution (code) -> Discussion -> Pointers to other relevant recipes or material.
No matter how proficient you're at coding in Python you'll certainly found some useful tips, new approaches or coding techniques. Usually technical books have strong and weak parts which I point out in my reviews, this one is different. As someone before me stated, this book is all meat and no fat. What else do you want from your diet?
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.


Feedback