Effective Python: 59 Specific Ways to Write Better Python
It’s easy to start coding 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.
Effective Python will help you master a truly “Pythonic” approach to programming, harnessing Python’s full power to write exceptionally robust and well-...more
Not intend for beginners, but a nice and easy home reading for an experience Python developer.
- Best practises
- Relevant topics
- Too short
- Not realy an indepth material
- Some topics are too easy and well known (virtualenv, unittest)
Effective Python belongs to the "Effective Software Development" series, which was conceived by Scott Meyers, author of Effective C++, to provide guides on best practices for a variety of languag ...more
Although dated by now, it's still relevant except for "Concurrency and Parallelism", if you're writing Python 3.
With the newest improvements in Python 3 regarding asyncio and futures, there needs to be a revisited version of the book.
Either way, highly recommended one-two times read.
Along with "The Python 3 Standard Library by Example (Developer's Library)" the book compliment each other to an extent, however they both fall short at "concurrency ...more
On the whole I think it's one of those books I will reach for from time to time, for ...more
I was a Java programmer before I switched to Python. I took a month to study A Byte of Python --highly recommended -- but I always felt that I had only scratched the surface. This book is recommended for anyone who has some familiarity with python but wants to gain a deeper understanding of how python works, and how to write pythonic code.
I enjoyed going through this book. Each "item" is a self contained lesson.. the author has a github pro ...more
Also it spends way too long on APIs, which made the ...more
Where the book falls short is in having enough examples and and practice problems problems to know why/when to apply some of the more advanced Python features. Also, this seems to be target at Python 3.4/2.7, missing some newer Python 3 features.
If you seek out Python best practices, or want to continue learning beyond the basics, this book won't disappoint.
Most of the python books out there are either too theoretical or too practical. They just introduce the concepts but you don't really understand when to use it for real time. Like generators, classes, decorators ...etc
This book shows known problems and explain how to use python specific feature to write the most effective and readable code.
I really enjoyed that book and you can read small chapters (Items) at a time. I helped me to improve my coding skills.
I will keep this (or an upcoming updated edition) on my desk for reference.
Some items/ways are debatable. Eg, there are good arguments against "Item 49: Write Docstrings for Every Function, Class, and Module." However, in general the items/ways are not contentious.
For me, it was sometimes hard to follow along reading disjointed snippets of code, so I had to type out all code for some examples into a text editor.
If you're reading only *one* Python book, go with Fluent Python. But Slatkin's book is a great addition to any library.
I'd call this a true intermediate-level book on the language.
Goodreads is hiring!
Learn more »