Python Cookbook

Python Cookbook

by Alex Martelli, David Ascher
4.0 4

Paperback(First Edition)

$32.57 $39.95 Save 18% Current price is $32.57, Original price is $39.95. You Save 18%.
View All Available Formats & Editions

Temporarily Out of Stock Online

Eligible for FREE SHIPPING


Python Cookbook by Alex Martelli, David Ascher

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
This book is a treasure trove of useful code for all Python programmers, from novices to advanced practitioners, with contributions from such Python luminaries as Guido Van Rossum, David Ascher, Tim Peters, Paul Prescod, Mark Hammond, and Alex Martelli, as well as over 100 other Python programmers. The recipes highlight Python best practices and can be used directly in day-to-day programming tasks, as a source of ideas, or as a way to learn more about Python.The recipes in the Python Cookbook were edited by David Ascher, who is on the board of the Python Software Foundation and is the co-author of Learning Python, and Alex Martelli, who is known for his numerous and exhaustive postings on the Python mailing list. The book contains a foreword by Guido van Rossum, the creator of Python.

Product Details

ISBN-13: 9780596001674
Publisher: O'Reilly Media, Incorporated
Publication date: 07/26/2002
Edition description: First Edition
Pages: 608
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.

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Python Cookbook 4 out of 5 based on 0 ratings. 4 reviews.
Anonymous More than 1 year ago
Computer_Science_House More than 1 year ago
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.
Guest More than 1 year ago
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.
TEST NOOKUSER More than 1 year ago
Vn hi it was good