Jump to ratings and reviews
Rate this book

Python Essential Reference

Rate this book

This is the eBook version of the printed book. If the print book includes a CD-ROM, this content is not included within the eBook version.

Python Essential Reference is the definitive reference guide to the Python programming language — the one authoritative handbook that reliably untangles and explains both the core Python language and the most essential parts of the Python library.

Designed for the practicing programmer, the book is concise, to the point, and highly accessible. It also includes detailed information on the Python library and many advanced subjects that is not available in either the official Python documentation or any other single reference source.

 

Thoroughly updated to reflect the significant new programming language features and library modules that have been introduced in Python 2.6 and Python 3, the fourth edition of Python Essential Reference is the definitive guide for programmers who need to modernize existing Python code or who are planning an eventual migration to Python 3. Programmers starting a new Python project will find detailed coverage of contemporary Python programming idioms.

 

This fourth edition of Python Essential Reference features numerous improvements, additions, and updates:

Coverage of new language features, libraries, and modules introduced into Python since the previous edition Practical coverage of Python's more advanced features including generators, coroutines, closures, metaclasses, and decorators Expanded coverage of library modules related to concurrent programming including threads, subprocesses, and the new multiprocessing module Up-to-the-minute coverage of how to use Python 2.6’s forward compatibility mode to evaluate code for Python 3 compatibility Improved organization for even faster answers and better usability Updates to reflect modern Python programming style and idioms Updated and improved example code Deep coverage of low-level system and networking library modules — including the options not covered in the standard documentation

1262 pages, Kindle Edition

First published October 19, 1999

83 people are currently reading
695 people want to read

About the author

David Beazley

12 books15 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
223 (46%)
4 stars
169 (35%)
3 stars
63 (13%)
2 stars
18 (3%)
1 star
5 (1%)
Displaying 1 - 27 of 27 reviews
Profile Image for Simon Kozlov.
26 reviews69 followers
January 1, 2014
This book was pitched to me as something that answers typical Python questions faster than google and StackOverflow. Well, it's hard to beat google, but for a lot of the topics I found it to be best description out there (huge props for description of Unicode in Python).

It's first time I read language reference back to back - Python is big and I decided it's time to read about _all_ the features. I'm using Python for about two years now and every month or so I found an unexpected feature. This books provides a very decent coverage and makes it pretty fun to read about every single thing language offers.

And this is reference done right - doesn't try to cover every little detail, but all the important ones. When describing print, it'd be sure to mention how to make it not insert end of line. When describing metaclasses, it'd be sure to provide an example where they're useful.

A lot of python trivia. A lot.

46 reviews2 followers
September 2, 2011
My favorite python book. The first part is by far the best introduction to python I've found for experienced programmers.
Profile Image for Mehdi.
18 reviews2 followers
November 24, 2017
Very good Python reference book. However, it is a bit outdated now and needs a new revision to cover recent changes in the language and the ecosystem.
56 reviews1 follower
February 5, 2017
I felt this was a painful, long read the first time through when I was trying to learn Python. I wanted to get things done asap. But reading this a 2nd time, it seems so much clearer. It has much excellent information and the organization is good. The prose is concise but not uselessly terse; and the examples are illustrative not long, tedious and noisy like in some other series. Probably wouldn't recommend to someone completely unfamiliar with Python as this is closer to a quick reference than a textbook.
Profile Image for Viet Nguyen.
9 reviews
November 11, 2017
Just over 100 pages into it but this one is the best Python books I've read/glanced so far.
11 reviews
June 5, 2018
I got a lot of sideways glances when I said I was going to schedule out time to read a "reference" manual from cover to cover. Being fairly new to the python language, this was well worth my time. The book will now be used as a reference! When the next version comes out I fully intend to take the time to go over it for things that have changed.

Was well worth my time.
9 reviews1 follower
June 28, 2020
I feel like I really wasted my money on this book. I'm not even sure why it's need with the internet (and Stackoverflow) readily available. I would classify myself as an intermediate-level Python user, and this book is written over my head. I tried going to it at first, to get my money's worth, but I inevitably ended up searching online for better, more understandable answers.
Profile Image for Andrew McGill.
3 reviews
April 15, 2011
I came to this book with a lot of programming experience in C, Delphi (object oriented), bash and perl, and I found it very frustrating. This is probably because I wanted a simple mapping of what I know to the python method for the same thing, and that is not what this book provides. After grinding through the entire thing, I felt that I was no wiser. However, to my surprise, some of what I read in the book did actually help me - things like knowing that everything in python is an object, the fact that functions get overloaded and similar have helped me to produce, lately, reams of unmaintainable python code, including choice phrases like lines=open('x','r').readlines(). If you are already using python, this might be a useful book for you, but I gave it away in disgust, and gave up on python until I discovered that you could do everything in a bash subshell with for line is os.popen("ps uaxwf",'r').readlines(): x=line.split(); if line.find("nobody")>=0: os.kill(int(x[1])); (or whatever).
Profile Image for Anton.
11 reviews
February 3, 2013
Книга описывает возможности языка Python. Книга не является учебным пособием и предназначена для тех, кто уже знаком с программированием в целом и языком Python в частности. В первой части книги описываются общие возможности языка, синтаксис, структура программ и т.д. В воторой части подробно описываются наиболее используемые модули стандартной библиотеки. В заключительной части описываются возможности расширения с использованием языка C (в основном) и встраивения (вызова) кода Python в программах на языке C.

Описание возможностей сопровождается комментариями, рекомендациями (зачем сделано именно так и как лучше применять) и примерами. Прочтение книгу позволило получить обзорное представление возможностей библиотеки, увидеть/понять многие аспекты программирования на языке. Кроме того знакомство с библиотечными функциями и комментариями по использованию позволяют лучше понять, например, технику программирования с использованием асинхронных вызовов (select, сопрограммы и.д.) или даже работу операционных систем.
228 reviews5 followers
October 5, 2012
Perfect reference and great book for experienced programmers who want to learn Python. Lots of great concepts described like concurrent programming and quote deeply described standard Python library from working with strings to network APIs.

As its reference, its hard to read. But its worth it, Beazley spreads lots of spark ideas and insights along the way.
Profile Image for Rhea.
36 reviews1 follower
March 31, 2007
If you're a programmer fluent in another language this is a concise way to pick up Python. I find myself referring back to it occasionally to this day. Which means it either continues to be useful or I'm just darn forgetful.
Profile Image for Dan.
233 reviews
August 31, 2008
Python docs can be a little daunting on the online site. This reference I keep right next to my laptop and anytime I don't fell like plowing through the library reference the python.org site, this has been coming in quite handy as a quick reference. Detailed, with sample code.
5 reviews
September 15, 2015
This is the best Python book I've seen so far. I'm an intermediate level Python hacker and I found this reference to be very helpful in explaining some of the more advanced python concepts such as decorators, object oriented programming, coroutines, etc.
Profile Image for Andrew Montalenti.
21 reviews1 follower
December 1, 2019
My all-around favorite book on Python 2.7 programming, with most of it applying well to Python 3.x. See also “Fluent Python” to round out a Python education.
15 reviews5 followers
June 15, 2010
Simply the best Python reference. The only book I keep on my desk.
120 reviews18 followers
reference-only
March 20, 2021
This book would not be appropriate for someone new to programming, but it does have a short introduction to python in the first chapter. Most of the book is devoted to the various library packages.
Profile Image for Ayoola Adegbite.
3 reviews
January 24, 2013
perfect book for every serious python programmer .. exactly what is says on the tin ."reference book ".for keeps.
Profile Image for Dave Peticolas.
1,377 reviews45 followers
October 8, 2014

A good reference to the fast-changing programming language Python. My one complaint is that the type is too small.

Displaying 1 - 27 of 27 reviews

Can't find what you're looking for?

Get help and learn more about the design.