Programming Books C Java PHP Python Learn more Browse Programming Books
Buy Used
$15.94
FREE Shipping on orders over $35.
Used: Good | Details
Sold by giggil
Condition: Used: Good
Access codes and supplements are not guaranteed with used items.
Add to Cart
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Python Essential Reference (3rd Edition) Paperback – March 2, 2006

ISBN-13: 978-0672328626 ISBN-10: 0672328623 Edition: 3rd

Used
Price: $15.94
21 New from $11.12 44 Used from $1.77
Amazon Price New from Used from
Paperback, March 2, 2006
$11.12 $1.77

There is a newer edition of this item:


Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student



NO_CONTENT_IN_FEATURE

Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now

Product Details

  • Paperback: 648 pages
  • Publisher: Sams; 3 edition (March 2, 2006)
  • Language: English
  • ISBN-10: 0672328623
  • ISBN-13: 978-0672328626
  • Product Dimensions: 5.9 x 8.9 inches
  • Shipping Weight: 1.8 pounds
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (70 customer reviews)
  • Amazon Best Sellers Rank: #421,247 in Books (See Top 100 in Books)

Editorial Reviews

Amazon.com Review

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 out of print or unavailable edition of this title.

More About the Author

I've been programming computers of various sorts for more than 25 years. For the most part, I would consider myself to be a die-hard C programmer although I have to admit that I also really like assembly language programming. Oddly enough, however, I'm probably best known for my work with the Python programming language. I first came across Python in 1996 when I was writing high-performance software for supercomputers. At the time, I became interested in using it as a control-language for interfacing with software components written in C. As a result, I wrote some tools to simplify this process and became fairly active in the Python community. Python is definitely my language of choice for doing just about everything that would be annoyingly tedious to do in C.

Customer Reviews

4.6 out of 5 stars
5 star
53
4 star
8
3 star
7
2 star
2
1 star
0
See all 70 customer reviews
An excellent concise one book reference to the Python language.
William Heineman (wheineman@uconect.net)
I would recommend for anyone who wants advance book on python for reference and learning.
K. Mehta
The book is well written, and well presented, with excellent examples throughout.
Tom Cameron

Most Helpful Customer Reviews

58 of 58 people found the following review helpful By Jeffrey Johnson on March 7, 2000
Format: Paperback
Intending to familiarize myself with Python, I picked up a copy of O'Reilly's Programming Python a couple of years ago. After an initial attempt at going through the book, it has been on my book shelf since. It was simply not organized in a fashion that allowed me to quickly pick up the essentials of the language.
As someone who was already familiar with C/C++ and Perl, but wanting to learn Python, the Python Essential Reference was exactly what I was looking for. Yes, most of the information contained in the book is available in the Python reference documents, but not collected in one place.
In addition to adding examples from his own experience, David Beazley has done an excellent job in concisely summarizing the built-in features of the language as well as providing a nicely indexed library reference.
While this book may not be immediately useful for someone looking specifically for a language tutorial, beginning or advanced Python programmers will get useful information from this book for much longer than most tutorial style books.
Highly recommended.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
34 of 34 people found the following review helpful By A Customer on February 18, 2000
Format: Paperback
Firstly, ignore the review by Mr. Leopold. Despite the fact that that book is not intended as an introduction to the Python language, and mind you, this is stated repeatedly within the foreward and introduction, he seems to insist on treating it as such. Further, he can't seem to decide if he's reviewing the language or the book... All in all, a very poorly written review.
In any case, this is an excellent reference manual, suitable for Python hackers of all experience levels aside from complete newbie. As the sort that hates having a web browser open to sift through documentation, this reference is a godsend. The information presented is often terse, but quite clear.
The first 86 pages are a handy reference for the language itself. Being fairly familiar with Python already, I only skimmed over this section, but it seemed nicely organized.
The next big chunk of the book, the library reference, is nicely done as well. The modules are organized into sections based on general function (Math, OS Services). Each module name is listed in bold, and is followed by a quick list of platforms it is available on and a short description. After that, the authors rattle off the relevant details (classes, functions, variables, and so on) for each module. The classes and functions generally get the bold header with short paragraph description treatment. Everything else is typically listed in tables. This approach works surprisingly well, and though there are some cases where modules with large numbers of functions have them listed in a table, this is only done when it makes sense. A good example of this would be the math module, and its many (not surprisingly) math related functions such as sin, sqrt, and log.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
47 of 49 people found the following review helpful By C. Dunn on March 13, 2006
Format: Paperback
Good points:

* Much-improved readability

The font, layout, etc. are all much better than in previous editions.

* Lengthy coverage of important modules

Especially: optparse, logging, doctest, and unittest.

* Excellent tutorial for programmers

This (chapter 1) is the best I've seen -- very clear and succinct. Give it to anyone wanting to pick up Python fast.

* Has all the necessities.

Good index, good explanations of language usage, etc. All standard modules are at least mentioned, and all useful ones are covered.

Bad points:

* Reference section says very little that is not in the Web docs

The Nutshell book documents each function of a module with an explanation of how to use it and what to watch out for. It often provides a useful example. Beazley, on the other hand, has mostly restated the web docs, which are free.

* Lacks future feature coverage

Previous editions of this book stated the version of Python covered on the cover. This book covers 2.4, but you have to open it to find that out. That would be a minor point, except that it has absolutely nothing about what to expect in 2.5. The Nutshell, on the other hand, claims to cover only one version but actually reveals a great deal of what to expect in the next. Beazley could have at least mentioned relative imports, return-from-yield, and anything deprecated.

* Important points can be difficult to find

I had to look in several places before I finally learned what ellipsis is for in slicing.

Summary:

This book does not add much value beyond the web docs. However, if you need a hard-copy reference for Python2.4, this is your only option, and it's not a bad one. It's very well-organized and very easy to read.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
35 of 36 people found the following review helpful By Amazon Customer on January 9, 2000
Format: Paperback
This excellent reference concisely covers the Python language and libraries. It is a model of what a reference should be: well-produced, tightly written, comprehensive without covering the obsolete or arcane. I even like the small type face.
Peter Leopold's pompous 'official' review is off the mark in a variety of ways. For instance, the reason there aren't comparisons to other languages is precisely that this is _reference_, not advocacy or tutorial.
Leopold's ill-tempered criticisms of the language itself are hardly relevant to the quality of the book; they also happen to be incorrect. Python _does_ support bytecode-only distribution. Python _is not_ a cleansed version of Perl. Python _is not_ only for quick and dirty projects.
Python _does_ provide the abstraction mechanisms and libraries to solve serious problems in a maintainable way, as long as execution efficiency isn't paramount.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Customer Images

Most Recent Customer Reviews

Search

What Other Items Do Customers Buy After Viewing This Item?