Python Essential Reference, 4/e and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
26 used & new from $16.96

Have one to sell? Sell yours here
 
   
Python Essential Reference (3rd Edition)
 
 
Start reading Python Essential Reference, 4/e on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

Python Essential Reference (3rd Edition) (Paperback)

~ (Author)
4.6 out of 5 stars  See all reviews (70 customer reviews)

List Price: $44.99
Price: $29.69 & this item ships for FREE with Super Saver Shipping. Details
You Save: $15.30 (34%)
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 2 left in stock--order soon (more on the way).

Want it delivered Thursday, November 12? Choose One-Day Shipping at checkout. Details
13 new from $25.69 13 used from $16.96

Formats

Amazon Price New from Used from
  Kindle Edition $23.75 -- --
  Paperback $29.69 $25.69 $16.96
There is a newer edition of this item:
Python Essential Reference (4th Edition) Python Essential Reference (4th Edition) 5.0 out of 5 stars (5)
$29.69
In Stock.
What Do Customers Ultimately Buy After Viewing This Item?
Python Essential Reference (4th Edition)
37% buy
Python Essential Reference (4th Edition) 5.0 out of 5 stars (5)
$29.69
Python Essential Reference (3rd Edition)
34% buy the item featured on this page:
Python Essential Reference (3rd Edition) 4.6 out of 5 stars (70)
$29.69
Learning Python (Animal Guide)
13% buy
Learning Python (Animal Guide) 3.9 out of 5 stars (142)
$34.64
Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))
9% buy
Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly)) 4.5 out of 5 stars (40)
$26.39

Frequently Bought Together

Python Essential Reference (3rd Edition) + Learning Python (Animal Guide) + Python Cookbook
  • This item: Python Essential Reference (3rd Edition) by David M. Beazley

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Learning Python (Animal Guide) by Mark Lutz

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Python Cookbook by Alex Martelli

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

Python Cookbook

Python Cookbook

by Alex Martelli
4.3 out of 5 stars (42)  $23.01
Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))

Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))

by Alex Martelli
4.5 out of 5 stars (40)  $26.39
Rapid GUI Programming with Python and Qt (Prentice Hall Open Source Software Development)

Rapid GUI Programming with Python and Qt (Prentice Hall Open Source Software Development)

by Mark Summerfield
4.6 out of 5 stars (12)  $31.46
Python Scripting for Computational Science (Texts in Computational Science and Engineering)

Python Scripting for Computational Science (Texts in Computational Science and Engineering)

by Hans Petter Langtangen
4.5 out of 5 stars (8)  $55.96
Beginning Python Visualization: Crafting Visual Transformation Scripts (Books for Professionals by Professionals)

Beginning Python Visualization: Crafting Visual Transformation Scripts (Books for Professionals by Professionals)

by Shai Vaingast
4.7 out of 5 stars (9)  $35.60
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 --This text refers to an alternate Paperback edition.



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.

Product Details

  • Paperback: 648 pages
  • Publisher: Sams; 3 edition (March 2, 2006)
  • Language: English
  • ISBN-10: 0672328623
  • ISBN-13: 978-0672328626
  • Product Dimensions: 8.9 x 6.1 x 0.6 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (70 customer reviews)
  • Amazon.com Sales Rank: #416,231 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #63 in  Books > Computers & Internet > Programming > Languages & Tools > Python

More About the Author

David M. Beazley
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's David M. Beazley Page

Look Inside This Book


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(13)

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
Discussion Replies Latest Post
Textbooks for Kindle DX? 61 2 days ago
textbook scam 66 7 days ago
Amazon is a great place to buy textbooks! 35 19 days ago
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)

Python Essential Reference (3rd Edition) (Developer's Library)

This product is the 3rd addition of this book  Python Essential Reference (2nd Edition), but it would seem that David M. Beazley(The listed author for 3rd) is different from David Beazley(the listed author for 2nd) to the amazon database:)

(Report this)
Created on Nov 09, 2006, last edited on Nov 09, 2006.

 Explore and Edit at Amapedia.com opens new browser window



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.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


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.