Start reading Python Essential Reference, 4/e on your Kindle in under a minute. Don’t have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
   
  Try it free  
 
Sample the beginning of this book for free

Deliver to your Kindle or other device

 
   
 
Read books on your computer or other mobile devices
Get Kindle for PC
Mac version coming soon
Get Kindle for iPhone
Also works on iPod Touch
 
 
Python Essential Reference, 4/e
 
See larger image
 

Python Essential Reference, 4/e (Kindle Edition)

by David M. Beazley (Author)
What's this?
4.6 out of 5 stars  See all reviews (70 customer reviews)

Digital List Price: $35.99  What's this?
Print List Price:$34.99
Kindle Price: $23.75 & includes wireless delivery via Amazon Whispernet
You Save:$11.24 (32%)

Due to its large file size, this book may take longer to download
Text-to-Speech: Enabled
Kindle Books
  • Kindle Books include wireless delivery - read your book on your Kindle within a minute of placing your order.
  • Don't have a Kindle? Get yours here.

Formats

Amazon Price New from Used from
  Kindle Edition, June 23, 2009 $23.75 -- --
  Paperback, March 1, 2006 $29.69 $25.69 $14.99

Customers Who Bought This Item Also Bought

Python Cookbook

Python Cookbook

4.3 out of 5 stars (42)  $18.41
Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt Programming, Mobipocket

Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt Programming, Mobipocket

4.6 out of 5 stars (12)  $25.17
Foundations of Python Network Programming

Foundations of Python Network Programming

4.7 out of 5 stars (16)  $32.39
Programming Python

Programming Python

4.1 out of 5 stars (9)  $17.59
Python Pocket Reference

Python Pocket Reference

3.9 out of 5 stars (16)  $9.59
Explore similar items

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



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.

Product Details


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 

Your tags: Add your first tag
 

 

Customer Reviews

70 Reviews
5 star:
 (54)
4 star:
 (6)
3 star:
 (7)
2 star:
 (2)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (70 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
54 of 54 people found the following review helpful:
5.0 out of 5 stars An excellent, concise Python reference, March 7, 2000
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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
44 of 45 people found the following review helpful:
3.0 out of 5 stars Review of 3rd edition, March 13, 2006
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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
30 of 30 people found the following review helpful:
5.0 out of 5 stars Excellent reference, February 18, 2000
By A Customer
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.

All this is often followed with short examples, as well as a notes section that I have found surprisingly useful. The debugger and profiler are listed towards the end of the library section, and he does go into a bit more detail on those. Still, like the rest of the book, the sections on the debugger and profiler are intended only as a reference. I seem to remember the web pages having a short but helpful tutorial on using pdb and the profiler. Beginning and intermediate Python programmers will probably want to get started there.

He wraps up the book with a section on extending and embedding the language. This is not of particular interest to me, and I have only skimmed the section, but it seems to be fairly complete based on what (little) I know about the process.

Finally, we have the index. It maintains the level of quality established earlier in the book; I have, thusfar, had no problems finding what I was looking for. The index clearly lists each entry as a function, method, module, and so on. Clocking in at over 40 pages, it certainly does not lack due to a short length either.

If you want to learn Python, this isn't the book to do it with, though you'll certainly want to pick it up after you've gotten hold of the basics. If you've already got some experience with the language, I recommend it whole-heartedly.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Reference = Thorough, Concise, Well-Indexed
This is a excellent REFERENCE book -- thorough, concise, and well-indexed. It is not a tutorial. It is not a textbook. Read more
Published 10 months ago by Wayne Cannon

5.0 out of 5 stars far and away my favorite python reference
This is my Python reference book of choice, my only complaint about the book is the quality of the spine, as constant use has led to some of the signatures to peeling away from... Read more
Published 11 months ago by peter sgouros

5.0 out of 5 stars What I used to think a nutshell book was about!
I love the book. Use it with Python in a Nutshell. Use the Nutshell as a more comprehensive reference and this book to get exactly what I need when I have a general idea of what... Read more
Published 20 months ago by RF RDC

5.0 out of 5 stars Outstanding Reference
I say Outstanding Reference, because that's what this book is. While there are examples, they are short and concise - this is not a "how to" book (though the introduction provides... Read more
Published 20 months ago by Chicagoan

5.0 out of 5 stars Perfect programming language reference
This little book isn't missing a thing! It's extremely well organized; I find it faster to get answers from this book than from the Internet. Can't say that too often!
Published 21 months ago by apecar

5.0 out of 5 stars Conciese and informative book
Very concise and precise information. I would recommend for anyone who wants advance book on python for reference and learning.
Published 21 months ago by K. Mehta

5.0 out of 5 stars Nicely organized; Excellent index; Later chapters go into immense detail
This book is a highly detailed reference to the Python language. The introductory chapters build on one another and give the reader a decent introduction to the language. Read more
Published 21 months ago by Machine Learner

2.0 out of 5 stars Examples Needed
Python Essential Reference is a decent book. It is very convenient to have such a book at your desk with a nice index to look things up and concise statements of syntax etc. Read more
Published on June 6, 2007 by GameMaker

5.0 out of 5 stars Just the facts, Ma'am.
If you're looking to learn programming, then this is probably not the right book. This one is intended to sit on your shelf and get cracked open when you have a fairly specific... Read more
Published on March 8, 2007 by Andrew G. Hammond

5.0 out of 5 stars Python Essential Reference (3rd Edition)
'Python Essential Reference' - is one of the best IT reference books I have ever read. I use this book for years (starting with 2nd Edition - in 2001). Read more
Published on March 8, 2007 by Valeriy Pogrebitskiy

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Explore more


So You'd Like to...


Create a guide

Look for Similar Items by Category


Look for Similar Items by Subject


 
Feedback
If you need help or have a question for Customer Service, contact us.
Please log in if you would like to report this content as inappropriate? Click here
Do you believe that this item violates a copyright? Click here
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Amazon Digital Services, Inc. US Privacy Statement Amazon Digital Services, Inc. US Shipping Information Amazon Digital Services, Inc. US Returns & Exchanges

Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.