Buy New
-42%
$33.44$33.44
$3.95 delivery Monday, November 23
Ships from: 365giftshop Sold by: 365giftshop
Used - Very Good
$10.12$10.12
FREE delivery November 23 - 25
Ships from: GREENWORLD BOOKS Sold by: GREENWORLD BOOKS
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Effective Python: 90 Specific Ways to Write Better Python (Effective Software Development Series)
Purchase options and add-ons
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 Python
- Detailed explanations and examples of statements, expressions, and built-in types
- Best practices for writing functions that clarify intention, promote reuse, and avoid bugs
- Better techniques and idioms for using comprehensions and generator functions
- Coverage of how to accurately express behaviors with classes and interfaces
- Guidance on how to avoid pitfalls with metaclasses and dynamic attributes
- More efficient and clear approaches to concurrency and parallelism
- Solutions for optimizing and hardening to maximize performance and quality
- Techniques and built-in modules that aid in debugging and testing
- Tools and best practices for collaborative development
Effective Python will prepare growing programmers to make a big impact using Python.
- Print length480 pages
- LanguageEnglish
- PublisherAddison-Wesley Professional
- Publication dateJanuary 24, 2020
- Dimensions7.09 x 0.08 x 9.06 inches
- ISBN-100134853989
- ISBN-13978-0134853987
There is a newer edition of this item:
$55.25
(52)
Usually ships within 5 to 7 days
Book recommendations, author interviews, editors' picks, and more. Read it now.
Frequently bought together

Customers who viewed this item also viewed
- Effective Python: 125 Specific Ways to Write Better Python (Effective Software Development Series)PaperbackFREE Shipping by AmazonGet it as soon as Saturday, Nov 28Usually ships within 5 to 7 days
- Automate the Boring Stuff with Python, 3rd EditionPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Nov 21
- Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to ProgrammingPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Nov 21
- Fluent Python: Clear, Concise, and Effective ProgrammingPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Nov 21
- Fluent Python: Clear, Concise, and Effective ProgrammingPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Nov 21Only 1 left in stock - order soon.
- Learning Python: Powerful Object-Oriented ProgrammingPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Nov 21
Customers also bought or read
- Fluent Python: Clear, Concise, and Effective Programming
Paperback$40.82$40.82FREE delivery Sat, Nov 21 - Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerFunctional Software Programming
Paperback$26.73$26.73Delivery Sat, Nov 21 - AI Engineering: Building Applications with Foundation Models#1 Best SellerEnterprise Applications
Paperback$45.97$45.97FREE delivery Sat, Nov 21 - Automate the Boring Stuff with Python, 2nd Edition: Practical Programming for Total Beginners
Paperback$18.99$18.99FREE delivery Nov 24 - 30 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)#1 Best SellerSoftware Testing
Hardcover$44.58$44.58FREE delivery Sat, Nov 21 - Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter
Paperback$43.99$43.99FREE delivery Sat, Nov 21 - Elements of Programming Interviews in Python: The Insiders' Guide#1 Best SellerGenetic Algorithms
Paperback$31.38$31.38Delivery Nov 29 - Dec 2 - Hands-On Large Language Models: Language Understanding and Generation
Paperback$37.68$37.68FREE delivery Sat, Nov 21 - Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
Paperback$39.82$39.82FREE delivery Sat, Nov 21 - Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices
Paperback$37.10$37.10FREE delivery Sat, Nov 21 - Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$45.50$45.50FREE delivery Sat, Nov 21 - Learning Go: An Idiomatic Approach to Real-World Go Programming
Paperback$43.64$43.64FREE delivery Sat, Nov 21 - Software Architecture: The Hard Parts: Modern Trade-Off Analyses for Distributed Architectures
Paperback$31.78$31.78Delivery Sat, Nov 21 - Software Engineering at Google: Lessons Learned from Programming Over Time
Paperback$30.45$30.45Delivery Sat, Nov 21 - Code: The Hidden Language of Computer Hardware and Software#1 Best SellerMicrosoft Programming
Paperback$32.58$32.58Delivery Sat, Nov 21 - Data Science from Scratch: First Principles with Python
Paperback$38.93$38.93FREE delivery Sat, Nov 21 - The Manager's Path: A Guide for Tech Leaders Navigating Growth and Change
Paperback$21.01$21.01Delivery Nov 27 - 30 - Learning React: Modern Patterns for Developing React Apps
Paperback$36.49$36.49FREE delivery Sat, Nov 21 - Linux Basics for Hackers, 2nd Edition: Getting Started with Networking, Scripting, and Security in Kali#1 Best SellerLinux Networking & System Administration
Paperback$20.17$20.17Delivery Sat, Nov 21
From the Publisher
Read this book if you want to write
exceptionally robust and well-performing code
code that’s easier to understand, maintain, and improve
functions that clarify intention, promote reuse, and avoid bugs
Editorial Reviews
About the Author
Brett Slatkin is a principal software engineer at Google. He is the technical co-founder of Google Surveys, the co-creator of the PubSubHubbub protocol, and he launched Google’s first cloud computing product (App Engine). Fourteen years ago, he cut his teeth using Python to manage Google’s enormous fleet of servers. Outside of his day job, he likes to play piano and surf (both poorly). He also enjoys writing about programming-related topics on his personal website (https://onebigfluke.com). He earned his B.S. in computer engineering from Columbia University in the City of New York. He lives in San Francisco.
Product details
- Publisher : Addison-Wesley Professional
- Publication date : January 24, 2020
- Edition : 2nd
- Language : English
- Print length : 480 pages
- ISBN-10 : 0134853989
- ISBN-13 : 978-0134853987
- Item Weight : 2.31 pounds
- Dimensions : 7.09 x 0.08 x 9.06 inches
- Part of series : Effective Software Development
- Customer Reviews:
About the author

Brett Slatkin is the author of the book Effective Python and has been writing Python code professionally for the past 21 years. He works as a Distinguished Engineer in the Office of the CTO at Google developing technology strategies and rapid prototypes. His experience includes: founding Google Surveys, a platform for collecting machine learning and market research datasets; launching Google App Engine, the company's first cloud computing product; scaling Google's A/B experimentation products to billions of users; and co-creating PubSubHubbub, the W3C standard for real-time RSS feeds. He earned his B.S. in Computer Engineering from Columbia University in the City of New York.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customer reviews work on Amazon























