Image for Effective Python  : 90 specific ways to write better Python

Effective Python : 90 specific ways to write better Python (Second edition)

Part of the Effective software development series series
See all formats and editions

Updated and Expanded for Python 3 It’s easy to start developing programs with 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. This second edition of 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 90 Python best practices, tips, and shortcuts, and explains them with realistic code examples so that you can embrace Python with confidence. 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 understand the best way to accomplish key tasks so you can write code that’s easier to understand, maintain, and improve.

In addition to even more advice, this new edition substantially revises all items from the first edition to reflect how best practices have evolved. Key features include 30 new actionable guidelines for all major areas of PythonDetailed explanations and examples of statements, expressions, and built-in typesBest practices for writing functions that clarify intention, promote reuse, and avoid bugsBetter techniques and idioms for using comprehensions and generator functionsCoverage of how to accurately express behaviors with classes and interfacesGuidance on how to avoid pitfalls with metaclasses and dynamic attributesMore efficient and clear approaches to concurrency and parallelismSolutions for optimizing and hardening to maximize performance and qualityTechniques and built-in modules that aid in debugging and testingTools and best practices for collaborative development Effective Python will prepare growing programmers to make a big impact using Python.

Read More
Available

This title has been replaced. Some copies of this edition remain in stock, and can be ordered, however, please be advised availability beyond this is unlikely. Otherwise, please click 9780138172183 to take you to the new version.

£30.39 Save 20.00%
RRP £37.99
Add Line Customisation
2 in stock Need More ?
Add to List
This title has been replaced View Replacement
Product Details
Addison Wesley
0134853989 / 9780134853987
Paperback / softback
005.133
24/01/2020
United States
English
xxii, 444 pages
23 cm
Previous edition: 2015.