BUY THIS BOOK
Add to Cart

Print Book $49.95


Add to Cart

PDF $39.99

Safari Books Online

What is this?

Add to UK Cart

Print Book £35.50

What is this?

Looking to Reprint or License this content?

Python Cookbook, Second Edition

By Alex Martelli, Anna Martelli Ravenscroft, David Ascher
Second Edition  March 2005 
Pages: 844
Series: Cookbooks
ISBN 10: 0-596-00797-3 | ISBN 13: 9780596007973

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

Like its predecessor, the new edition offers a collection of solutions to problems that Python programmers face everyday. Updated for Python 2.4, 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.
Full 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.
Post-purchase benefits:

Register your book | Submit Errata | Examples


Browse within this book

Cover | Table of Contents | Index | Sample Chapter | Colophon

Book details

Second Edition: March 2005
Series: Cookbooks
ISBN: 0-596-00797-3
Pages: 844


Featured customer reviews

Be the first person to review this book!

Write a Review


Media reviews
"Lots of tasty recipes in Python. If you're just getting started learning Python, some of the examples will be quite puzzling, but unlike Java books where a lot of the sample code is almost like Graffiti foisted on unsuspecting students by programmers who should know better, the examples in this book are so elegantly crafted that getting familiar with them will only help. It's an added bonus that a lot of them are actually practical and quite reusable."
-- Peter Knaggs, Peninsula Linux Users Group (PenLUG)

"For the beginning Python programmer this is an excellent book to help step up a level. For the intermediate programmer the scope of topic areas provides a fast introduction to new areas. Truth be told, this is a book we can recommend to Python programmers at every level. An essential buy."
--TechBookReport.com, June 2005

"In cooking, the beauty of a recipe is you get to spice up the dish however you like it or modify it to use whatever ingredients you happen to have on hand. The procedure is exactly the same with the recipes in the Python Cookbook: the user is not only encouraged but expected to modify the solution to fit his or her own needs. These solutions are meant not as complete answers, but departure points or templates for your own use.
So although Python doesn't actually taste like chicken, this cookbook contains some truly delicious - maybe you should read that as 'very useful' - recipes for anyone who regularly works with this language. If yours is a Python shop, you need this one on the shelf somewhere!"
scm rak, Epinions.com, May 2005

Hide extended reviews


See larger cover