Alex Martelli, David Ascher, Anna RavenscroftISBN: 0596001673; 9780596001674;
The Python Cookbook is a collection of problems, solutions, and practical examples for Python programmers, written by Python programmers. Over the past year, members of the Python community have contributed material to an online repository of Python recipes hosted by ActiveState. This book contains the best of those recipes, accompanied by overviews and background material by key Python figures. The recipes in the Python Cookbook range from simple tasks, such as working with dictionaries and list comprehensions, to entire modules that demonstrate templating systems and network monitoring. This book contains over 200 recipes on the following topics: - Searching and sorting; - Manipulating text; - 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;...