Python Cookbook

Front Cover
"O'Reilly Media, Inc.", Mar 18, 2005 - Computers - 846 pages
17 Reviews

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.
 

What people are saying - Write a review

User ratings

5 stars
4
4 stars
9
3 stars
1
2 stars
3
1 star
0

LibraryThing Review

User Review  - tomhudson - LibraryThing

Probably just not the book I needed at the time, but disappointing for me - make sure that the "recipes" in here actually address problems somewhat related to the ones you're dealing with. Read full review

LibraryThing Review

User Review  - jmalonzo - LibraryThing

Not only this book is a cookbook, it also teaches you why things are done this way and not thay way which I think is very helpful for beginner, intermediate, and possibly expert python programmers. Read full review

Contents

I
II
IV
V
VI
VII
VIII
IX
XIII
XIV
XV
XVI
XVII
XVIII
XIX
XX

X
XI
XII
XXI
XXII
Copyright

Other editions - View all

Common terms and phrases

References to this book

All Book Search results »

About the author (2005)

Martelli spent eight years with IBM Research. He then spent 13 years as a senior software consultant at think3 inc, developing libraries, network protocols, GUI engines, event frameworks, and web access frontends.

Ravenscroft has a background in training and mentoring, particularly in office technologies.

David Ascher is the lead for Python projects at ActiveState, including Komodo, ActiveState's integrated development environment written mostly in Python. David has taught courses about Python to corporations, in universities, and at conferences. He also organized the Python track at the 1999 and 2000 O'Reilly Open Source Conventions, and was the program chair for the 10th International Python Conference. In addition, he co-wrote Learning Python (both editions) and serves as a director of the Python Software Foundation. David holds a B.S. in physics and a Ph.D. in cognitive science, both from Brown University.

Bibliographic information