Effective Python: 59 Specific Ways to Write Better Python

by Brett Slatkin

Effective Software Development Series

133 Members ½ (4.25)

On This Page

Description

"Each item in Slatkin's Effective Python teaches a self-contained lesson with its own source code. This makes the book random-access: Items are easy to browse and study in whatever order the reader needs. I will be recommending Effective Python to students as an admirably compact source of mainstream advice on a very broad range of topics for the intermediate Python programmer." --Brandon Rhodes, software engineer at Dropbox and chair of PyCon 2016-2017   It's easy to start coding with show more Python, which is why the language is so popular. However, Python's unique strengths, charms, and expressiveness can be hard to grasp, and there are hidden pitfalls that can easily trip you up.   Effective Python will help you master a truly "Pythonic" approach to programming, harnessing Python's full power to write exceptionally robust and well-performing code. 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.   Drawing on years of experience building Python infrastructure at Google, Slatkin uncovers little-known quirks and idioms that powerfully impact code behavior and performance. You'll learn the best way to accomplish key tasks, so you can write code that's easier to understand, maintain, and improve.   Key features include Actionable guidelines for all major areas of Python 3.x and 2.x development, with detailed explanations and examples Best practices for writing functions that clarify intention, promote reuse, and avoid bugs Coverage of how to accurately express behaviors with classes and objects Guidance on how to avoid pitfalls with metaclasses and dynamic attributes More efficient approaches to concurrency and parallelism Better techniques and idioms for using Python's built-in modules Tools and best practices for collaborative development Solutions for debugging, testing, and optimization in order to improve quality and performance show less

Tags

Recommendations

Member Recommendations

tsangal Both "Effective Python" and "Fluent Python" are great at teaching advanced Python programming topics. Both are highly recommended if you want to really take your Python programming to the next level.

Member Reviews

Members

Recently Added By

Author Information

4 Works 210 Members
Brett Slatkin is a principal software engineer at Google focused on measurement, data analysis, and experiment infrastructure. He is the technical co-founder of Google Surveys. He previously worked on Google App Engine's Python infrastructure, leveraged Python to manage Google's enormous server fleet, and used Python to implement Google's system show more for PubSubHubbub, a protocol he co-created. Slatkin holds a B.S. in computer engineering from Columbia University in the City of New York. show less

Series

Common Knowledge

Canonical title
Effective Python: 59 Specific Ways to Write Better Python

Classifications

Genres
Technology, Nonfiction
DDC/MDS
005.13Computer science, information & general worksComputer science, knowledge & systemsArtificial Intelligence/Virtual RealitySoftware developmentComputer programming
LCC
QA76.73 .P98 .S57ScienceMathematicsMathematicsInstruments and machinesCalculating machinesElectronic computers. Computer science
BISAC

Statistics

Members
133
Popularity
243,873
Rating
½ (4.25)
Languages
English
Media
Paper, Ebook
ISBNs
3
ASINs
2