Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Python Essential Reference [Paperback]

David M. Beazley
4.5 out of 5 stars  See all reviews (54 customer reviews)
List Price: CDN$ 48.99
Price: CDN$ 30.86 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 18.13 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Temporarily out of stock.
Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item.
Ships from and sold by Amazon.ca. Gift-wrap available.

Formats

Amazon Price New from Used from
Paperback CDN $30.86  
There is a newer edition of this item:
Python Essential Reference (4th Edition) Python Essential Reference (4th Edition)
CDN$ 32.59
In Stock.

Book Description

Mar 2 2006 0672328623 978-0672328626 3
Python Essential Reference, 3rd Edition, is a comprehensive reference to the Python programming language. The focus of this latest edition is to add coverage of significant new features and new library modules added to the language over the past five years. Clearly written with concise organization, the new features covered include new style classes, unification of types and classes, xmlrpclip, intertools, bz2 and optparse, making it the most up-to-date Python book on the market.

Customers Who Bought This Item Also Bought


Product Details


Product Description

From Amazon

Every so often a book comes along that makes you ask yourself, "Gee, when was the last time I had my eyes checked?" David M. Beazley's Python: Essential Reference is just such a book. Condensing thousands of pages of Python online documentation into a compact 319-page softcover, Beazley and his editors used the old-college trick (often performed in reverse) of dickering with the font size to meet a putative page-limit requirement. The result is a truly condensed product fit for the occularly well-adjusted (nota bene).

Beazley's subject is Python, a full-featured, freely-redistributable, POSIX-compliant (platforms include Linux, Unix, Macintosh, and Windows) scripting language that is based on object-oriented design principles. As advertised, Beazley's source release (1.5.2) is available from an unfortunately slow server at www.python.org. The installation under Linux (Redhat 5.2) proceeded without incident.

Beazley holds true to his catalogic purpose: fully 230 pages are formatted as technical appendices and indices covering the standard litany: built-in function syntax, database features, OS-level interfaces, Internet interfaces, and compiling/profiling/debugging. All references are fully annotated and illustrated with example source code that runs from a couple of lines to a couple of pages. In lock step with competing scripting languages, Python is extensible and embeddable in C and C++, and with blitzkrieg efficiency, Beazley summarizes these crucial practical issues in the final 30 pages. Python users who are tired of chasing questions through hyperlinked online documents will benefit from the expansive random-access index.

Python the book captures the orderliness of Python the language. Beazley begins with an 86-page précis of Python in the fashion of Kernighan and Ritchie: too brief for a newbie tutorial but enough to propel old hands into a scripting language that aspires to the elegance of a compiled language.

Indeed, it is a byte-compiling language. The line bytecode=compile("some_python_script",'','exec')) creates 'bytecode' as a token executed by exec bytecode. But a five-minute investigation through Beazley's book does not describe how 'bytecode' can be written into a separate executable file. If writing the byte-compiled code to a file is not possible, Python suffers from the limitations of other scripting languages: the executable is the source and cannot be hidden from the user, at least not without some difficulty. Despite its extensibility, embeddability, and pleasing architecture, Python is like other scripting languages: appropriate for solving small nonproprietary problems.

Those familiar with more established scriptors like Perl may ask, "Why Python?" Unlike Perl, Python is a product of the fully object-oriented (OO) era, and its constructs reflect design principles that aspire beyond keystroke shortcuts of the succinct-but-often-arcane Perl. Python creator Guido van Rossum cleansed Perl's idiosyncracies and objectified basic data structure, data manipulations, and I/O. With Python, OO is so intrinsic that learning Python is equivalent to learning OO. The same cannot be said of Perl.

Unfortunately, comparisons with other languages are missing from Beazley's book. Van Rossum, in an embarrassingly self-serving foreword, preemptively asserts that we readers need "neither evangelizing nor proselytizing"--after all, we already own the book--but we do need galvanizing and we don't find it. Specifically, we need a response to the oft-repeated wisdom that new computer languages are only worth learning if they teach us to organize our thinking along new lines.

Scripting languages, however, are for quick and dirty projects: quick to write, easy to hack, and ultimately disposable. The essential tension created by van Rossum and friends is between the elegance of object-oriented principles and the utility of a quick-hacked script. Sadly, the tension remains unresolved in Beazley's reference. There is little to convince us that Python has earned its place in the firmament by changing our thinking. But Beazley has given us much to get us going if we have already taken the leap of faith. --Peter Leopold --This text refers to an out of print or unavailable edition of this title.

From Library Journal

Though Python is a relatively new programming language, it has quite a significant audience owing to its sensible syntax. An active user of Python since 1996, Beazley provides ample information on the fundamentals of versions 2.0 and 2.1, including syntax, functions, operators, classes, and libraries. This is first and foremost a reference, so he avoids lengthy discussions of Python's superiority. Peppered with good code samples and featuring a companion web site with more extensive pieces, this title should be on hand in larger libraries.
Copyright 2001 Reed Business Information, Inc. --This text refers to an alternate Paperback edition.

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

Most helpful customer reviews
1 of 1 people found the following review helpful
Format:Paperback
This is not a book for learning python, but once you know enough to write useful scripts, it's an excellent reference to keep near your hand as you write code. Deserves the five stars!

There is a tutorial introduction plus an intermediate-level description of core language features, about 100 pages long, which is useful to read for an alternate perspective into the structure of the language. The library reference section (bulk of the book, Appendix A) is well-organized and very usable.

Unfortunately for the utility of this book, the online documentation at the python webpage happens to be of excellent quality. Also, there is at least one other book (Python in a Nutshell, by Alex Martelli) that covers similar ground (tutorial + reference). This makes the "Essential Reference" not quite essential: it can be replaced by browser windows pointing to the python webpage, or by other books.

I have a bit of non-conventional advice: it seems to me that the casual programmer can make do with an earlier (cheaper :-) edition of the book. Most of the features of the language have been around since python 1.5.2, covered in the first edition. If you actually need to use features added later (e.g., list comprehensions, borrowed from Haskell), you can easily learn them from online sources. In any case, as far as advanced features are concerned, the latest edition is likely also to be soon outdated.

Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars The best Python book for experienced programmers April 28 2003
Format:Paperback
The second edition follows the exact same style as the first, and covers everything up to Python 2.1. This is probably the best serious reference book for programmers since K&R's The C Programming Language.

The book takes a no-nonsense approach to explaining the nuances of the language. If you are already familiar with practically any other serious OO language, you'll be able to pick up Python in a matter of hours from this.

The bulk of the book is a handy reference to the very large list of python modules (libraries). This makes for good bathroom reading. :-)

My only complaint about the second edition is that it was rewritten to directly incorporate the changes since v1.5 into the text. Since I already had the first edition, it would have been helpful if there were something as simple as change bars in the text itself for info specific to 2.0 and 2.1, although there is a summary of changes in an appendix.

Overall, still the best Python reference out there.

Was this review helpful to you?
4.0 out of 5 stars Valuable reference work April 27 2004
Format:Paperback
David has done a great job condensing the need-to-known Python language material down into the first hundred pages of the book. The code examples are great, there are no graphics, and there are plenty of well-formatted tables for operators, methods, and the rest.

The second half of the book is Appendix A, which covers the Python's standard library. I think it's odd that an entire section of 200+ pages is considered an appendix, but that is only a minor flaw.

The reason that I give the book only four stars and not five is that Appendix A could use some more of the clever formatting applied to the first part of the book to make it more accessible. The information is all there, but it could be formatted a little better. O'Reilly does a great job with that sort of thing.

Overall, this is a great handy reference for Python. Far better than the online documentation. If you are an occasional Python programmer, like me, you will find this book a great resource because you can get a quick refresher whenever you need it.

Was this review helpful to you?
Want to see more reviews on this item?
Most recent customer reviews
2.0 out of 5 stars Not very good for anything...
This is by no means a good book to do anything with. The book provides incomplete examples in the 70-something pages and then provides the rest of the book as appendices. Read more
Published on May 10 2003 by "cmdrdran"
5.0 out of 5 stars Well-Thumbed
Usually I'm an O'Reilly snob, but this is the best Python book out there, including O'Reilly's "Programming Python". Read more
Published on Feb 20 2003 by William McNeill
5.0 out of 5 stars If there was a "Python in a Nutshell", this would be it
This book is exactly what a busy programmer needs to learn and use Python. It is concise, complete, and doesn't waste time on evangelism.
Published on Jun 5 2002 by Avdi Grimm
5.0 out of 5 stars No Truer Reference Have I Found
A single voice amongst so many, what can I say? Python itself is such a straight-forward, easy-to-learn language already that it requires little documentation to convey its syntax... Read more
Published on Jun 1 2002 by B. Wilson
5.0 out of 5 stars my most frequently used python book
This is a great book. About 2/3 of the book covers the python library, but is more thorough and has more and better examples than the free online python library reference. Read more
Published on Mar 21 2002 by Privacy Nut
1.0 out of 5 stars Well, it looks pretty
This book is bad. And not just normal, mostly available online bad, but really bad. Is it technically correct? Yes. Does it cover the basics well? Yes. Read more
Published on Feb 19 2002 by Nathan R. Yergler
3.0 out of 5 stars Doesnt add much to online documentation
I am an experienced programmer and I wanted to get up to speed quickly. Much of the information has been taken almost verbatim from the online docs. Read more
Published on Feb 6 2002 by "britpunk"
3.0 out of 5 stars Definitly a good book, but !!
I don't get why everybody is so enthusiastic about it. Its definitly a good book, but it doesn't deliver much on top of the online documentation freely distributed with Python. Read more
Published on Jan 15 2002 by Guido Stinnez
3.0 out of 5 stars Good Desk Reference but I suggest you don't buy it
This book is an excellent book if you already know the language and have some good Python books that explains the various language features (from Beginner to Intermediate Levels). Read more
Published on Dec 28 2001 by Peter Milliken
5.0 out of 5 stars An excellent book, but you'll want the second edition!
Mr. Beazley has written an execllent reference for Python. Although the bulk of this book is taken from the library reference, the book's formatting and extra research make it a... Read more
Published on Nov 6 2001 by Dustin J. Mitchell
Search Customer Reviews
Only search this product's reviews

Listmania!

Create a Listmania! list

Look for similar items by category


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges