Advanced Search
Start Your Free Trial

Overview

Top Sellers in this Category

Regular Expressions Cookbook

Regular Expressions Cookbook
by Jan Goyvaerts; Steven Levithan

Python Cookbook, 2nd Edition

Python Cookbook, 2nd Edition
by Alex Martelli; Anna Martelli Ravenscroft; David Ascher

This is the Safari online edition of the printed book.

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

Amazon.com® Reader Reviews (Ranked by Helpfulness)

Average Amazon.com® Rating: 5.0 out of 5 rating Based on 5 Ratings

An excellent reference to get the maximum out of Python - 2009-08-14
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The author of Python Essential Reference is David Beazley, who among other occupations created the open-source SWIG tool and the WAD mixed-languages debugger. His background is pervading throughout the book, in which the reader gets a clear sense of what is happening behind the Python programming language and learns how to use it efficiently instead of considering it as a black box.

The first 20 pages give an overview of the language and although it is called a "tutorial introduction", it should be understood that its purpose is for a programmer to see what Python looks like, and not for a novice to get their first programming course.

The next 156 pages offer a thorough review of the language and its environment. This is a very interesting part and should not be skipped even by people who already know Python. I said "review" but an experienced programmer should be able to learn the language by reading those chapters and putting them into practice with extra exercises.

Instead of simply describing the language, the author also hands out tricks of the trade, showing how to acquire good coding habits while using an sensible approach regarding the performance, which is often essential in a dynamic language. The fourth edition is focusing on version 2.6 but offers some historical perspective by pointing out several elements that were recently improved, or which are about to change in upcoming versions.

The first part of the book concludes with useful recommendations on program debugging and profiling.

The second part contains 388 pages and goes through the Python library, presenting the essential modules together with examples, notes and advices. After all, this is a reference, so we shouldn't expect any less.

Last but not least, the third part comprises 30 pages of precious information on Python/C interface for extending the language or embedding it in larger applications.

An appendix introduces version 3 for those who are ready to make the leap.

For the sake of completeness, if I were to make any reproach or wish for improvement, it would probably be on the overall presentation (and would be a very minor one). The style in the code excerpts could be more consistent in the first part of the book, and the second part could do with more emphasis on the ... reference ... character of the text, perhaps by providing a more convenient way to navigate through the different modules and by using more obvious styles for the different parts. I sometimes had the impression of reading a long listing of modules and methods instead of looking through a reference book. While the contents is superior to other references like "Python in a Nutshell", I found it easier to retrieve what I needed with the latter - a bit on the brink of obsolescence today - than I do now with the former.

I would definitely recommend this book to anyone desirous of improving their programming skills in Python, or having to write optimized code because performance is an issue.

The Best Reference for the Experienced Programmer - 2009-08-05
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I've worked in C, C++, and Java, and for the last six years in Python. This is the book I've been looking for. If you want to know how the language works under the covers and how to best use it, this book is invaluable. The explanation of co-routines and generators is the best I've seen.

The presentation is logical and concise, and the examples are realistic. I've read many Python books, but this is the one that will stay on my desk.

better than excellent - 2009-09-29
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I own the previous three editions of this book. (Actually I have two copies of the 3rd edition, one for home and one for office.) They have proven to be great reference books containing a nice mix of tutorial notes to explain details. This latest edition is even better than what were excellent books. It covers more material in greater depth. Reading it has exposed me to a number of language features I haven't yet used and a flood of modules I have to explore in detail. The only downside is that I expect I'll soon be buying another copy.

This is The Book - 2009-10-04
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is The Book I keep on the table when I write Python code.

Python is too big to fit in my head - little bits keep getting pushed out and smeared with other things - like PHP, HTML, CSS, Javascript, etc etc. This book has the details clearly, succinctly and (generally) completely described. The only more authoritative source is [...].

If you write code and want a good, concise readable reference: this is the book. If you're the type who learns new languages from 'the manual': this is the book. If you have to have a tutorial - go to a bookstore and read chapter 1. If it works for you, then: this is the book.

I've previously owned editions 1 and 3. The quality stays constant and the material and coverage expands.

Packed with key updates reflecting the latest new features and library modules - 2009-10-17
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
PYTHON ESSENTIAL REFERENCE offers an authoritative sourcebook that explains core Python language and the Python library, and is a pick for advanced computer collections catering to practicing programmers. From new language features and coverage of Python's more advanced features to how to use version 2.5's compatibility mode to evaluate code for Python 3, this is packed with key updates reflecting the latest new features and library modules.

Browse Similar Topics

Top Level Categories:
Programming

Sub-Categories:
Programming > Python

Some information on this page was provided using data from Amazon.com®. View at Amazon >


About Safari Books Online • Terms of Service • Privacy Policy • Contact Us • Corporate Licenses • Help • Accessibility | See us on FacebookSee us on Linked InSee us on TwitterRSS

Copyright 2009 Safari Books Online. All rights reserved.