Join Amazon Prime and get unlimited Free One-Day Delivery. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
36 used & new from £19.60

Have one to sell? Sell yours here
 
   
Python Cookbook
 
 

Python Cookbook (Paperback)

by Alex Martelli (Author), Anna Ravenscroft (Author), David Ascher (Author)
4.2 out of 5 stars See all reviews (6 customer reviews)
RRP: £38.50
Price: £26.95 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £11.55 (30%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.

Want guaranteed delivery by Tuesday, July 14? Choose Express delivery at checkout. See Details
27 new from £21.78 9 used from £19.60
Other Editions: RRP: Our Price: Other Offers:
Paperback 15 used & new from £10.29

Frequently Bought Together

Python Cookbook + Learning Python + Python Pocket Reference (Pocket Reference (O'Reilly))
Price For All Three: £53.08

Show availability and shipping details


Customers Who Bought This Item Also Bought

Learning Python

Learning Python

by Mark Lutz
3.5 out of 5 stars (11)  £20.14
Python Pocket Reference (Pocket Reference (O'Reilly))

Python Pocket Reference (Pocket Reference (O'Reilly))

by Mark Lutz
3.7 out of 5 stars (6)  £5.99
Core PYTHON Programming

Core PYTHON Programming

by Wesley Chun
4.7 out of 5 stars (9)  £17.39
Programming Python

Programming Python

by Mark Lutz
3.2 out of 5 stars (6)  £32.19
Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))

by Tony Stubblebine
4.3 out of 5 stars (7)  £7.48
Explore similar items

Product details

  • Paperback: 844 pages
  • Publisher: O'Reilly Media, Inc.; 2 edition (18 Mar 2005)
  • Language English
  • ISBN-10: 0596007973
  • ISBN-13: 978-0596007973
  • Product Dimensions: 22.9 x 17.8 x 4.6 cm
  • Average Customer Review: 4.2 out of 5 stars See all reviews (6 customer reviews)
  • Amazon.co.uk Sales Rank: 81,045 in Books (See Bestsellers in Books)

    Popular in these categories:

    #14 in  Books > Computing & Internet > Programming > Languages > Python
    #67 in  Books > Computing & Internet > Programming > Languages & Tools > Scripting
  • See Complete Table of Contents

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
Books on Java and More
   my.safaribooksonline.com    Access Thousands of Books, Videos & Articles. Try Free for 10 Days! 
Food and Drinks Books
   www.octopusbooks.co.uk    Great cookbooks to suit every mood from our award-winning food writers 
Pre-loved cook books
   www.pantrybooks.com    For cooks, collectors, food lovers Local and international recipes 
  
 

Product Description

Review
"I have no reservations recommending this book." - Tim Penhey, Cvu, February 2003 --This text refers to the Paperback edition.

Product Description
Portable, powerful, and a breeze to use, Python is the popular open source object-oriented programming language used for both standalone programs and scripting applications. It is now being used by an increasing number of major organizations, including NASA and Google. Updated for Python 2.4, The Python Cookbook, 2nd Edition offers a wealth of useful code for all Python programmers, not just advanced practitioners. Like its predecessor, the new edition provides solutions to problems that Python programmers face everyday. It now includes over 200 recipes that range from simple tasks, such as working with dictionaries and list comprehensions, to complex tasks, such as monitoring a network and building a templating system. This revised version also includes new chapters on topics such as time, money, and metaprogramming. Here's a list of additional topics covered: Manipulating text Searching and sorting Working with files and the filesystem Object-oriented programming Dealing with threads and processes System administration Interacting with databases Creating user interfaces Network and web programming Processing XML Distributed programming Debugging and testing Another advantage of The Python Cookbook, 2nd Edition is its trio of authors-three well-known Python programming experts, who are highly visible on email lists and in newsgroups, and speak often at Python conferences. With scores of practical examples and pertinent background information, The Python Cookbook, 2nd Edition is the one source you need if you're looking to build efficient, flexible, scalable, and well-integrated systems.

See all Product Description

Inside This Book (Learn More)
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.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below

Your tags: Add your first tag
 

What Do Customers Ultimately Buy After Viewing This Item?

Python Cookbook
55% buy the item featured on this page:
Python Cookbook 4.2 out of 5 stars (6)
£26.95
Core PYTHON Programming
18% buy
Core PYTHON Programming 4.7 out of 5 stars (9)
£17.39
Learning Python
13% buy
Learning Python 3.5 out of 5 stars (11)
£20.14
Python Pocket Reference (Pocket Reference (O'Reilly))
9% buy
Python Pocket Reference (Pocket Reference (O'Reilly)) 3.7 out of 5 stars (6)
£5.99

 

Customer Reviews

6 Reviews
5 star:
 (2)
4 star:
 (3)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (6 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
10 of 10 people found the following review helpful:
4.0 out of 5 stars More than a cookbook, 6 Aug 2006
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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 6 people found the following review helpful:
5.0 out of 5 stars Useful code samples, illuminating commentary, deep insights, 23 Oct 2002
By Hamish Lawson (St Andrews, Scotland) - See all my reviews
This review is from: Python Cookbook (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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
4 of 4 people found the following review helpful:
4.0 out of 5 stars Another useful Python reference., 30 Sep 2002
This review is from: Python Cookbook (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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Verbose, and could be better organised
I can't help but compare this book to Tom Christiansen's Perl Cookbook. It's not bad, but if you've ever used the Perl book, you're likely to be disappointed by this one... Read more
Published 3 days ago by Frank T

5.0 out of 5 stars An excellent resource
This book has earned a spot within arms reach of my computer.

An excellent source of facts, ideas, and inspiration - exactly what a cookbook should be.

Published on 25 Mar 2003 by P. E. Jacobs

4.0 out of 5 stars A useful howto for those in need of a quick Python reference
I had been interested in learning python for a while before i actually started reading up on it.

I found that this book covered most of the topics i was looking for: i. Read more

Published on 21 Aug 2002

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

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

   


Listmania!


Look for similar items by category


Feedback


Fun for Everyone

Christmas Gifts
Achieve over 15,000 RPM with our great range of Powerballs.

Shop the Powerball store

 

More From David Ascher

Learning Python

Learning Python by Mark Lutz

The authors of Learning Python show you enough essentials of the... Read more
£30.99 £20.14

 

Train Hard...Play Hard

Nike, Gola, Converse, and more
Gear up with up to 60% off athletic and outdoor shoes.

Shop now

 

Treat Someone

Amazon.co.uk Gift Certificates--available in any amount from £5 to £500 With an Amazon.co.uk Gift Certificate, you can get them what they want (even if you don't know what that is).

Learn more about Gift Certificates

 
Ad

Where's My Stuff?

Delivery and Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue Shopping: Top Sellers
The Girl Who Played with Fire
Breaking Dawn (Twilight Saga)
The Girl with the Dragon Tattoo
The Host
The Host by Stephenie Meyer

amazon.co.uk Amazon Home
International Sites:  United States  |  Germany  |  France  |  Japan  |  Canada  |  China
Business Programs: Sell on Amazon  |  Fulfilment by Amazon  |  Join Associates  |  Join Advantage
Customer Service  |  Help  |  View Basket  |  Your Account
About Amazon.co.uk  |  Careers at Amazon
Conditions of Use & Sale |  Privacy Notice  © 1996-2009, Amazon.com, Inc. and its affiliates