Effective Python: 90 Specific Ways to Write Better Python (Effective Software Development Series) 2nd Edition, Kindle Edition

4.7 out of 5 stars 138 ratings
Flip to back Flip to front
Audible Sample Playing... Paused   You are listening to a sample of the Audible narration for this Kindle book.
Learn more
Kindle App Ad
<Embed>
Loading your book clubs
There was a problem loading your book clubs. Please try again.
Not in a club? Learn more
Amazon book clubs early access

Join or create book clubs

Choose books together

Track your books
Bring your club to Amazon Book Clubs, start a new book club and invite your friends to join, or find a club that’s right for you for free.
Buy
$23.49
Digital List Price: $39.99

Deliver to your Kindle or other device


Buy for others

Give as a gift or purchase for a team or group.Learn more

Buying and sending eBooks to others


Select quantity
Buy and send eBooks
Recipients can read on any device

Additional gift options are available when buying one eBook at a time.  Learn more


These ebooks can only be redeemed by recipients in the US. Redemption links and eBooks cannot be resold.

Quantity: 
This item has a maximum order quantity limit.

"Devoted" by Dean Koontz
For the first time in paperback, from Dean Koontz, the master of suspense, comes an epic thriller about a terrifying killer and the singular compassion it will take to defeat him. | Learn more
click to open popover

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.

  • Apple
    Apple
  • Android
    Android
  • Windows Phone
    Windows Phone
  • Click here to download from Amazon appstore
    Android

To get the free app, enter your mobile phone number.

kcpAppSendButton
Amazon Business : For business-only pricing, quantity discounts and FREE Shipping. Register a free business account

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.


--This text refers to the paperback edition.

Review

“I have been recommending this book enthusiastically since the first edition appeared in 2015. This new edition, updated and expanded for Python 3, is a treasure trove of practical Python programming wisdom that can benefit programmers of all experience levels.”

–Wes McKinney, Creator of Python Pandas project, Director of Ursa Labs

 

“If you’re coming from another language, this is your definitive guide to taking full advantage of the unique features Python has to offer. I’ve been working with Python for nearly twenty years and I still learned a bunch of useful tricks, especially around newer features introduced by Python 3. Effective Python is crammed with actionable advice, and really helps define what our community means when they talk about Pythonic code.”

–Simon Willison, Co-creator of Django

 

“I’ve been programming in Python for years and thought I knew it pretty well. Thanks to this treasure trove of tips and techniques, I’ve discovered many ways to improve my Python code to make it faster (e.g., using bisect to search sorted lists), easier to read (e.g., enforcing keyword-only arguments), less prone to error (e.g., unpacking with starred expressions), and more Pythonic (e.g., using zip to iterate over lists in parallel). Plus, the second edition is a great way to quickly get up to speed on Python 3 features, such as the walrus operator, f-strings, and the typing module.”

–Pamela Fox, Creator of Khan Academy programming courses

 

“Now that Python 3 has finally become the standard version of Python, it’s already gone through eight minor releases and a lot of new features have been added throughout. Brett Slatkin returns with a second edition of Effective Python with a huge new list of Python idioms and straightforward recommendations, catching up with everything that’s introduced in version 3 all the way through 3.8 that we’ll all want to use as we finally leave Python 2 behind. Early sections lay out an enormous list of tips regarding new Python 3 syntaxes and concepts like string and byte objects, f-strings, assignment expressions (and their special nickname you might not know), and catch-all unpacking of tuples. Later sections take on bigger subjects, all of which are packed with things I either didn’t know or which I’m always trying to teach to others, including ‘Metaclasses and Attributes’ (good advice includes ‘Prefer Class Decorators over Metaclasses’ and also introduces a new magic method ‘__init_subclass__()’ I wasn’t familiar with), ‘Concurrency’ (favorite advice: ‘Use Threads for Blocking I/O, but not Parallelism,’ but it also covers asyncio and coroutines correctly) and ‘Robustness and Performance’ (advice given: ‘Profile before Optimizing’). It’s a joy to go through each section as everything I read is terrific best practice information smartly stated, and I’m considering quoting from this book in the future as it has such great advice all throughout. This is the definite winner for the ‘if you only read one Python book this year...’ contest.”

–Mike Bayer, Creator of SQLAlchemy

 

“This is a great book for both novice and experienced programmers. The code examples and explanations are well thought out and explained concisely and thoroughly. The second edition updates the advice for Python 3, and it’s fantastic! I’ve been using Python for almost 20 years, and I learned something new every few pages. The advice given in this book will serve anyone well.”

–Titus Brown, Associate Professor at UC Davis

 

“Once again, Brett Slatkin has managed to condense a wide range of solid practices from the community into a single volume. From exotic topics like metaclasses and concurrency to crucial basics like robustness, testing, and collaboration, the updated Effective Python makes a consensus view of what’s ‘Pythonic’ available to a wide audience.”

–Brandon Rhodes, Author of python-patterns.guide

--This text refers to the paperback edition.

Product details

  • Publication Date : October 25, 2019
  • File Size : 56831 KB
  • Word Wise : Not Enabled
  • Print Length : 480 pages
  • Publisher : Addison-Wesley Professional; 2nd Edition (October 25, 2019)
  • X-Ray : Not Enabled
  • Text-to-Speech : Enabled
  • Enhanced Typesetting : Enabled
  • Language: : English
  • ASIN : B07ZG18BH3
  • Screen Reader : Supported
  • Page Numbers Source ISBN : 0134853989
  • Simultaneous Device Usage : Up to 5 simultaneous devices, per publisher limits
  • Lending : Not Enabled
  • Customer Reviews:
    4.7 out of 5 stars 138 ratings

Customer reviews

4.7 out of 5 stars
4.7 out of 5
138 global ratings
How are ratings calculated?

Top reviews from the United States

Reviewed in the United States on January 4, 2020
Verified Purchase
11 people found this helpful
Comment Report abuse
Reviewed in the United States on December 14, 2019
Verified Purchase
9 people found this helpful
Comment Report abuse
Reviewed in the United States on May 16, 2020
Verified Purchase
6 people found this helpful
Comment Report abuse
Reviewed in the United States on July 3, 2020
Verified Purchase
2 people found this helpful
Comment Report abuse
Reviewed in the United States on April 19, 2020
Verified Purchase
One person found this helpful
Comment Report abuse
Reviewed in the United States on March 11, 2020
Verified Purchase
One person found this helpful
Comment Report abuse
Reviewed in the United States on March 18, 2020
Verified Purchase
2 people found this helpful
Comment Report abuse
Reviewed in the United States on July 8, 2020
Verified Purchase

Top reviews from other countries

Pine Shelter
5.0 out of 5 stars Ideal book for experienced programmers who are new to Python
Reviewed in the United Kingdom on March 10, 2020
Verified Purchase
One person found this helpful
Report abuse
Steven Ortiz
5.0 out of 5 stars Useful content
Reviewed in the United Kingdom on June 19, 2020
Verified Purchase
Ivo S.
5.0 out of 5 stars Excellent!
Reviewed in the United Kingdom on June 15, 2020
Verified Purchase
Rodrigo Zamora
5.0 out of 5 stars Simplemente excelente
Reviewed in Mexico on July 16, 2020
Verified Purchase
Lis Kanashiro
5.0 out of 5 stars excellent guide
Reviewed in Japan on September 27, 2020
Verified Purchase