- Use promo code PRIMEBOOKS18 to save $5.00 when you spend $20.00 or more on Books offered by Amazon.com. Enter code PRIMEBOOKS18 at checkout. Here's how (restrictions apply)
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.
The Python Standard Library by Example 1st 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:
See the Best Books of 2018 So Far
Looking for something great to read? Browse our editors' picks for the best books of the year so far in fiction, nonfiction, mysteries, children's books, and much more.
Special offers and product promotions
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|
About the Author
Doug Hellmann is a senior developer with Racemi, Inc., and communications director of the Python Software Foundation. He has programmed with Python since version 1.4, and has worked on multiple platforms in mapping, medical publishing, banking, and data center automation. Hellmann was previously columnist and editor-in-chief for Python Magazine and, since 2007, has blogged the popular Python Module of the Week series at doughellmann.com.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
I sometimes wonder when I will buy my last physical book, as digital versions are becoming standard. This book, however, is a great example of some of the great computer books that lived most of their lives right next to my computer: a well-organized reference manual with a great index and table of contents (you can view these on the Amazon page for this title).
I teach Python in my high school Computer Science classes, and have always loved the fact that I can write Python code quickly and successfully for so many tasks that come up when teaching. Learning Python is one thing--being able to utilize the standard library in "Pythonic" ways is another skill entirely. The core language is perfect for introducing students to real programming--the instructor can choose to introduce many of the functional programming aspects of Python after students have become comfortable with the traditional imperative approach (gradually leading to an understanding of abstraction in a natural way). But it won't be long and students will start discovering just how easy it is to utilize the standard library for many of the tasks that are coded from scratch in books that merely use Python to teach the fundamentals of Computer Science and Programming. This book is an excellent reference to have for those students that want to use Python for tasks outside of the usual core language programming challenges that they are learning in class. I have students who have used Python for tasks that I had simply never though of--like my student that wrote a forum bot to alert him via email whenever new posts on our phpBB forum appeared. Other students have created chat rooms and file servers with amazing efficiency using Python.
I highly recommend this book for anyone that 1) wants to learn how to utilize the "batteries included" in Python, 2) need a handy guide for working outside the core language. As an educator, I love how easy it is to simply pick up this book, open to a random spot, and quickly get ideas for examples to use in class that will help students see the amazing potential Python has. Also, although the standard library has excellent documentation, the vast majority of students simply want to see examples and then try altering them for their own purposes. This book provides those examples that are simply not collected anywhere else in such an organized and accessible format.
Lets face it, the standards docs can be difficult to comprehend or follow. This book explains the standard library in a way that is simpler than the standard docs.
The chapters are concise and full of examples. There is non piece of code that is written where he doesn't explain how it works.
Over all it is a great book to have if you're an intermediate(and up) python developer.