Jump to ratings and reviews
Rate this book

Writing Idiomatic Python 3

Rate this book

Unknown Binding

49 people want to read

About the author

Jeff Knupp

3 books19 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
21 (53%)
4 stars
13 (33%)
3 stars
5 (12%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 6 of 6 reviews
Profile Image for Bugzmanov.
231 reviews97 followers
March 31, 2019
Accidentally finished it in one go. I like the approach a lot: dogmatic and opinionated view on how to structure small bits of code, but the book is very-very-very short and too basic. It barely scratches fundamentals. Wondering if a proper linter should catch most of the
"harmful" cases mentioned in the book?

And there are some bits of inconsistency like presenting usage of "protected" methods with named tuples as a best practice.
Python is weird. Shrug.emoji
Profile Image for Emad Mokhtar.
40 reviews20 followers
February 15, 2018
This book has many Pythonic ways to write Python code. Each chapter is related to an area in Python like classes, lists, etc..
Be ready to get many Aha moments and discover hidden gems ;)
Profile Image for Wanda.
169 reviews6 followers
April 27, 2019
This is an excellent source book, and contains many delightful tidbits which can greatly improve the readability and brevity of your code. I felt like it lacked polish (e.g. some typos) and depth at times, but it raised some interesting questions which I am excited to pursue (particularly applying operators to generator expressions). I particularly appreciated how the idiomatic code snippets reinforced certain practices presented in previous sections! Definitely worthwhile.
15 reviews
May 15, 2019
Short, but great. Every python programmer should read it.
Profile Image for Dmitry Figol.
1 review
September 8, 2021
Short book, but contains great tips on writing better Python code. It is especially helpful for people coming from different languages and not yet knowing Python idioms for common problems.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.