Python Cookbook

Capa
Alex Martelli, Anna Ravenscroft, David Ascher
O'Reilly Media, 18/03/2005 - 807 páginas
Python is well-known as a robust and elegant language, with support for both functional and object-oriented programming styles. When you choose to use Python, however, you get more than just a language-you also become part of an incredibly enthusiastic and supportive community of Python programmers who reach out to help each other learn and grow in their use of the language. Python Cookbook, 2nd Edition is just one tangible manifestation of that Python community. In it, you'll find practical solutions to many common Python programming problems. These solutions come from the community, from Python programmers who for many years have contributed to the online Python Cookbook hosted by ActiveState at http://aspn.activestate.com/ASPN/Cookbook/Python. These are battle-tested solutions; contributed, reviewed, enhanced, and now brought together in book form. Here is just a sampling of the many topic areas covered by the more than 300 recipes in this book: Searching and sorting, Web programming, Manipulating text, Network programming, Working with files, Processing XML, Object-oriented programming, Distributed programming, Multithreaded programming, Debugging and testing, System administration, Metaprogramming. Solutions in this book are organized by topic area. All of the chapters begin with introductions written by well-known Python luminaries such as: Facundo Batista, David Beazley, Donn Cave, Fred L. Drake, jr., Paul F. Dubois, Mark Hammond, Raymond Hettinger, jeremy Hylton, Fredrik Lunch, Mark Lutz, Andy McKay, Gustavo Niemeyer, Tim Peters, Paul Prescod, Aaron Watters, and Greg Wilson. This book is a treasure trove of useful code for all Python programmers, front novices to advanced practitioners. It's a gift, from the community to you. By purchasing this book, you are also giving back to the community: 25 percent of all royalties from this book are donated to the Python Software Foundation. The recipes in Python Cookbook, 2nd Edition were edited by Alex Martelli, also the author of Python in a Nutsbell; Anna Martelli Ravenscroft, an avid Python user and frequent conference speaker; and David Ascher of ActiveState, coauthor of Learning Python. The book contains a foreword by Guido van Rossum, the creator of Python.

No interior do livro

Índice

Text
1
Files
58
Time and Money
110
Direitos de autor

18 outras secções não apresentadas

Outras edições - Ver tudo

Palavras e frases frequentes

Acerca do autor (2005)

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 G teborg, 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.

Informação bibliográfica