- Paperback: 717 pages
- Publisher: Addison-Wesley Professional; 4 edition (July 19, 2009)
- Language: English
- ISBN-10: 0672329786
- ISBN-13: 978-0672329784
- Product Dimensions: 6 x 1.2 x 9.2 inches
- Shipping Weight: 1.8 pounds (View shipping rates and policies)
- Average Customer Review: 108 customer reviews
- Amazon Best Sellers Rank: #170,128 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Python Essential Reference (4th Edition) 4th Edition
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
There is a newer edition of this item:
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Frequently bought together
Customers who bought this item also bought
From the Publisher
|59 Specific Ways to Write Better Python||5+ Hours of Video Instruction||Definitive Reference Guide||Master the Powerful Python 3 Standard Library through Real Code Examples||8+ Hours of Video Instruction|
|Title||Effective Python||Effective Python LiveLessons||Python Essential Reference||The Python Standard Library by Example||Modern Python LiveLessons: Big Ideas and Little Code in Python|
|Author||Brett Slatkin||Brett Slatkin||David Beazley||Doug Hellmann||Raymond Hettinger|
|User Experience Level||Intermediate and advanced level Python programmers||Intermediate and advanced level Python programmers||Assumes that the reader has prior programming experience with Python or another language such as C or Java||Intermediate-level Python programmers||Intermediate-level Python programmers|
|What You Will Learn||How to harness Python’s full power to write exceptionally robust and well-performing code.||The Pythonic way of writing programs, building on a fundamental understanding of Python to help you write programs more effectively.||The core Python language, and the most essential parts of the Python library.||How to utilize the Python 3.x library to jump-start application development.||How to elegantly code powerful solutions succinctly and efficiently with Python.|
|Core Concept||Using the concise, scenario-driven style pioneered in Scott Meyers’ best-selling Effective C++, Brett Slatkin brings together 59 Python best practices, tips, and shortcuts, and explains them with realistic code examples.||Hands-on demonstration of a broad but related set of items designed to provide concise and specific guidance on what to do and what to avoid when writing programs using Python.||Accurate and concise reference to the most important parts of Python.||Presents selected examples from the hundereds of modules in the Python standard linrary demonstrating how to use the most commonly used features of the modules that support Python’s 'batteries included' slogan.||Provides developers with an approach to programming in Python that expresses big ideas succinctly, with the minimum of code, allowing the business logic to shine through.|
|Key Topics Covered||Best practices for writing functions that clarify intention, promote reuse, and avoid bugs; Expressing behaviors with classes and objects; Avoid pitfalls with metaclasses and dynamic attributes; Efficient approaches to concurrency and parallelism; Techniques and idioms for using Python’s built-in modules; Tools and best practices for collaborative development||Methods; Comprehensions and generators; Functions and classes; Concurrency and parallelism; How to make programs more robust||Language features, libraries, and modules; Generators, coroutines, closures, metaclasses, and decorators; How to use Python 2.6’s forward compatibility mode to evaluate code for Python 3 compatibility; Low-level system and networking library modules||Python 3.x’s new libraries, significant functionality changes, and new layout and naming conventions. Expert porting guidance for moving code from 2.x Python standard library modules to their Python 3.x equivalents.||Newer features from Python 3.6, including f-strings and type hinting; ETL (extract-transform-load) techniques to prepare real-world data for analysis; How to improve code reliability|
|Python Versions Covered||3.x and 2.x||Python 3||Python 2.6 and 3.0. Omits features of Python 2 that have been removed from Python 3. Does not features of Python 3 that have not been back-ported.||Python 3 In an effort to maintain clear and concise descriptions for each example, the differences between Python 2 and 3 are not highlighted in each chapter.||Python 3.6|
From the Back Cover
"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, and updates: Coverage of new language features, libraries, and modules
Practical coverage of Python's more advanced features including generators, coroutines, closures, metaclasses, and decoratorsExpanded coverage of library modules related to concurrent programming including threads, subprocesses, and the new multiprocessing moduleUp-to-the-minute coverage of how to use Python 2.6's forward compatibility mode to evaluate code for Python 3 compatibilityImproved organization for even faster answers and better usabilityUpdates to reflect modern Python programming style and idioms Updated and improved example codeDeep coverage of low-level system and networking library modules - including options not covered in the standard documentation
About the Author
David M. Beazley has been programming Python since 1996. While working at Los Alamos National Laboratory, he helped pioneer the use of Python with scientific computing software. Through his company, Dabeaz LLC, he provides software development, training, and consulting related to the practical use of dynamic programming languages such as Python, Ruby, and Perl, especially in systems programming. He is author of all previous editions of Python Essential Reference, and was contributing author of Steve Holden’s Python Web Programming. He is a member of the Python Software Foundation.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
The first 200 pages deal with the basic languages features and this part of the book was highly readable with well explained details. Examples given are practical. When introducing generators and co-routines the code was simple and easy to understand.
From page 200 on the reference section of the book starts. I found these parts to be slightly less readable although coverage was extremely thorough. For many of the standard libraries, the entire list of functions and parameters are listed. The code here focused on operating system calls, networking, socket, concurrency, and lower level web programming details. It is generally geared towards a system's programmer rather than an OOP programming.
My main complaint about the book is the size of text which is maybe 8 point font. The text should have been at least 2 font sizes bigger as I had to read quite close to the book.
Overall this is an excellent reference for Python and great to have by your side when programming.
the table of contents is well organized into 2 groups actually, which is helpful when looking for a concept rather than a specific syntax issue.
unfortunately, the book uses python2 as the foundation (It still references py3 but often as a throw away--example: 2 paragraphs of explanation and a side now that it's done a different way in py3), so in that respect, it is a little outdated.
If you use Python3 (which, at this point, you likely do), wait for the 5th edition.
Update (after reading 200+ pages) It is easy for me to agree with all of the reviewers who praise this book, and I can understand the point of view of some of those who are critical. In some cases, additional examples would be helpful, and perhaps even necessary. However, with any effort at all, you will surely be able to locate some online. But.., consider again the title of my review.
Recently I was forced to make a switch and have to program a project in Python in order to use a provided API. I am so happy that I found this resource, it is exactly what I needed as an experienced programmer to make the shift. The information is provided with the assumption you know how to code. It is dense without much filler. So many programming language books devote the majority of the time to the general process of programming and insufficient time to the language. It is not so with this one.
On top of that this book goes the extra mile to help you jump into the evolving world of Python as it makes the shift form Python 2 to 3. The book is very informative about what is changing and helps you know what works in 2 and what changes will be required for 3.
I would highly recommend this Python book to someone looking at Python for the first time with significant experience in another language.