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 professional 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, andCoverage of new language features, libraries, and modulesPractical 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 options not covered in the standard documentation
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.
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.
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.
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.
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).
Книга описывает возможности языка Python. Книга не является учебным пособием и предназначена для тех, кто уже знаком с программированием в целом и языком Python в частности. В первой части книги описываются общие возможности языка, синтаксис, структура программ и т.д. В воторой части подробно описываются наиболее используемые модули стандартной библиотеки. В заключительной части описываются возможности расширения с использованием языка C (в основном) и встраивения (вызова) кода Python в программах на языке C.
Описание возможностей сопровождается комментариями, рекомендациями (зачем сделано именно так и как лучше применять) и примерами. Прочтение книгу позволило получить обзорное представление возможностей библиотеки, увидеть/понять многие аспекты программирования на языке. Кроме того знакомство с библиотечными функциями и комментариями по использованию позволяют лучше понять, например, технику программирования с использованием асинхронных вызовов (select, сопрограммы и.д.) или даже работу операционных систем.
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.
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.
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.
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.
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.
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.