Python Cookbook, 2nd Edition


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.

Table of Contents
Chapter 1. Text
Chapter 2. Files
Chapter 3. Time and Money
Chapter 4. Python Shortcuts
Chapter 5. Searching and Sorting
Chapter 6. Object-Oriented Programming
Chapter 7. Persistence and Databases
Chapter 8. Debugging and Testing
Chapter 9. Processes, Threads, and Synchronization
Chapter 10. System Administration
Chapter 11. User Interfaces
Chapter 12. Processing XML
Chapter 13. Network Programming
Chapter 14. Web Programming
Chapter 15. Distributed Programming
Chapter 16. Programs About Programs
Chapter 17. Extending and Embedding
Chapter 18. Algorithms
Chapter 19. Iterators and Generators
Chapter 20. Descriptors, Decorators,and Metaclasses

Book Details

  • Paperback: 846 pages
  • Publisher: O’Reilly Media; 2nd Edition (March 2005)
  • Language: English
  • ISBN-10: 0596007973
  • ISBN-13: 978-0596007973
Download [5.7 MiB]

You may also like...

Leave a Reply