Dimensions
150 x 250 x 15mm
Updated for Python 2.6 and 3.x, this third edition provides easy-to-find recipes for everything from simple tasks, such as working with dictionaries, to complex tasks such as monitoring a network and building a templating system. Each recipe also includes an explanation of how and why it works.There's no time to take programming lessons when you're facing a deadline. "Python Cookbook" helps you solve everyday problems quickly with code you can use in your applications right away -- whether you're using Python as an object-oriented language, a scripting language, or a functional language.Updated for Python 2.6 and 3.x, the third edition of this book provides easy-to-find recipes for everything from simple tasks, such as working with dictionaries and list comprehensions, to complex tasks such as monitoring a network and building a templating system. Each recipe also includes an explanation of how and why it works. You'll get the job done faster and learn more about Python in the process. Topics include: Manipulating text Searching and sorting Working with files and the filesystem Object-oriented programming Dealing with threads and processes System administration Interacting with databases Network and web programming Processing XML Distributed programming Debugging and testing Plus new chapters on time, money, and metaprogramming