Penguin Power!
Buy Linux distributions at discount prices!
Linux| Perl| PHP| Webserv| Databases| Sysadmin| Programming| Filesystems| Java| Webprog
News from Slashdot
Iran Reverse Engineers Cobra Attack Helicopter

Ask Slashdot: How To Shop For a Laptop?

Cisco All But Kills Cius Tablet

Germany Sets New Solar Power Record

Certain 'Personality Genes' Correlate With Longevity, Says Study

US CIO/CTO: Idea of Hiring COBOL Coders Laughable

Barter-Based School Catching On Globally

Can You Buy Tech With a Clean Conscience?

Van Jacobson Denies Averting Internet Meltdown In 1980s

19-Year-Old Squatted At AOL For 2 Months


Related products:

Learning Python, Second Edition Learning Python, Second Edition

Python in a Nutshell Python in a Nutshell

Programming Python, Second Edition with CD Programming Python, Second Edition with CD

Foundations of Python Network Programming (Foundations) Foundations of Python Network Programming (Foundations)

Dive Into Python Dive Into Python

Python

Python Cookbook

Python
Format: Paperback
Author: Alex Martelli
ReleaseDate: 18 March, 2005
Publisher: O'Reilly Media
Rating:

Python Cookbook, 2nd ED
Both the Python novice and expert will find the book relevant since newcomers will be exposed to a wide array of things that Python can do, while experts can learn different ways of tackling a problem by looking at somebody else's approach. This book gives the reader a tour of the possibilities of the Python language. The book is well written and provides historical insights into Python's evolution. This second edition has a lot more examples in it compared to the first edition. The authors have done a superb job in explaining concepts as opposed to simply presenting listing after listing of Python code. Hence, it makes for a good reference book for the person wanting to dive into Python. The book assumes some knowledge of the Python language, so use it to complement a book that will teach the basics of the language (such as "Learning Python").

In summary, I would highly recommend the book for the person wanting to know the Python language.
.


Best book in my Python library
The concept of having the Python community build a book is keeping right in line with the philosophy of the original development of Python. I really appreciate the depth and quality of the work in this book. Thanks you Alex.


A Fun Resource for Python Programmers at Most Levels
I work for Zope Corporation. Full disclosure: I purchased the first edition of this book, and received the second edition as a reviewers copy.

The O'Reilly Python Cookbook is a fun resource for Python programmers at most levels. The fun comes in part from the personalities that shine through the introductions and the community-authored recipes gathered from the ActiveState Python Cookbook website. The other fun comes from the smorgasbord of topics and technologies laid out for the reader, encouraging browsing and experimentation. New Python programmers will find recipes that highlight some of the newer features of the Python language, and experienced Python programmers will likely find thought-provoking recipes both peripherally and directly related to their specialties and interests.

Like the first edition, this second edition covers a wide range of topics. Each topic has a usually-interesting introduction by well-known names in the Python community. Some topics are of general interest-shortcuts and algorithms, for instance-while others explore somewhat more specialized topics, such as networks, XML, and databases. Each cookbook recipe I read was impressively short, while often still having enough weight to them to address non-toy usages of the approaches. Many examples can also be used as introductions to the modules and packages they use. Another important similarity to the first edition is that a portion of the proceeds from the book sales are donated to the Python Software Foundation.

This edition of the cookbook does have some significant changes from the previous one. While the first edition addressed Python versions in the 1. x and 2. x line, this one addresses only Python 2. 3 and 2. 4. It adds about a third more recipes than the first edition, and tops the first edition's page count by over 200 pages. Some of the new additions address relatively new packages, such as the datetime, dateutils, pytz, and decimal packages, while others focus on older packages that are waxing in their influence and popularity, such as Twisted. Many recipes are more polished, such as the "Synchronizing All Methods in an Object," which has an arguably more general purpose approach and an interesting discussion in the new edition.

Omissions are sometimes as interesting as inclusions in recipe books, but an interpretation of their significance can be difficult. The new edition dropped almost 100 of the first edition's recipes. In the "Distributed Programming" topic, the SOAP references in the first edition have disappeared, and a recipe for Twisted's Perspective Broker has surfaced. While the Perspective Broker is an interesting technology with an elegant cookbook example, the seeming judgement-SOAP is now less worth discussion than one of the Twisted project's packages-might raise some eyebrows. Similarly, Zope and the ZODB (Zope Object Database) are acknowledged as heavyweights in the introductions to their respective topics ("Web Programming" and "Persistence and Databases"). Zope 3 is even granted a rave review: "The new, revolutionary major release, Zope 3, makes Zope more Pythonic and powerful than ever. " But not a single recipe can be found for either, in either edition. Perhaps that simply is indicative that the Zope community ought to pay more attention to the Cookbook website.

This returns us to the initial observation of this review: the cookbook is a community driven project, and thus reflects the personalities of the programmers who contributed to it, rather than necessarily to trends of the Python or IT community. But it also benefits from the energy and enthusiasm of the contributors who often have palpable excitement for the technologies they are demonstrating. This also makes me more interested in the book as a source for introductions than as a source for ready-made recipes.

If a picture is worth a thousand words, a working, explained example of a new package ought to be worth quite a few too. The cookbook is a fun browse and a fun introduction to other aspects of the Python language. While I have found myself using one or two of the recipes from the first edition, that use alone is not enough to justify the cover price. It is more compelling to me as a fun introduction to Python topics and approaches. In that light, I recommend it.



Go to lyrics-now.com for music lyrics and song lyrics.
Bass and guitar tablatures: Fretplay.com, Guitar tabs, Bass tabs, Fresh tabs, How to read tabs
Plan your travel and holiday here: Travel Helper!