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
- Processing XML
- Distributed programming
- Debugging and testing
- Extending Python
|Publisher:||O'Reilly Media, Incorporated|
|Edition description:||First Edition|
|Product dimensions:||7.00(w) x 9.19(h) x 1.10(d)|
About the Author
Alex Martelli spent 8 years with IBM Research, winning three Outstanding Technical Achievement Awards. He then spent 13 as a Senior Software Consultant at think3 inc, developing libraries, network protocols, GUI engines, event frameworks, and web access frontends. He has also taught programming languages, development methods, and numerical computing at Ferrara University and other venues. He's a C++ MVP for Brainbench, and a member of the Python Software Foundation. He currently works for AB Strakt, a Python-centered software house in Gteborg, Sweden, mostly by telecommuting from his home in Bologna, Italy. Alex's proudest achievement is the articles that appeared in Bridge World (January/February 2000), which were hailed as giant steps towards solving issues that had haunted contract bridge theoreticians for decades.
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.
Most Helpful Customer Reviews
I started reading through the Python Cookbook as a beginner with very little experience in Python but fluent in several other languages ranging from Object Oriented to Functional languages. I found the book was very good to learn from by example. I would recommend it to anyone who has had programming experience before and is just starting out on Python to quickly grasp new areas of the language. I would also recommend this to intermediate Python programmers as a resource for being able to quickly identify common problems and elegant solutions to them. I found the book very easy to understand, despite my lack of prior exposure to the language and I felt like it was a very good learning experience. I'm looking forward to using Python more for my day to day tasks now that I have been introduced to many examples of how powerful a language it can really be.
This book is more like _Effective_C++_ than a cookbook. Each item is more than a code snippet to solve a specific problem, though said snippets abound. The author of each short bit goes into illuminating depth about their chosen topic. I've been programming in Python since 1.3 and I learned several new things in the first several pages! I've not yet finished it, but I did go ahead and read a few "recipies" from each chapter before posting this review. As an added bonus, each chapter is introduced by a Python luminary. Bottom line: This book will sit on my desk, not on my shelf.
Vn hi it was good