Python Tricks: A Buffet of Awesome Python Features
Download Python Tricks: A Buffet of Awesome Python Features PDF book free online – From Python Tricks: A Buffet of Awesome Python Features:
“I don’t even feel like I’ve scratched the surface of what I can do with Python” Buy From Amazon
With Python Tricks: The Book you’ll discover Python’s best practices and the power of beautiful & Pythonic code with simple examples and a step-by-step narrative.
You’ll get one step closer to mastering Python, so you can write beautiful and idiomatic code that comes to you naturally.
Learning the ins and outs of Python is difficult — and with this book you’ll be able to focus on the practical skills that really matter. Discover the “hidden gold” in Python’s standard library and start writing clean and Pythonic code today.
Who Should Read This Book:
- If you’re wondering which lesser known parts in Python you should know about , you’ll get a roadmap with this book. Discover cool (yet practical!) Python tricks and blow your coworkers’ minds in your next code review.
- If you’ve got experience with legacy versions of Python , the book will get you up to speed with modern patterns and features introduced in Python 3 and backported to Python 2.
- If you’ve worked with other programming languages and you want to get up to speed with Python , you’ll pick up the idioms and practical tips you need to become a confident and effective Pythonista.
- If you want to make Python your own and learn how to write clean and Pythonic code , you’ll discover best practices and little-known tricks to round out your knowledge.
What Python Developers Say About The Book:
“I kept thinking that I wished I had access to a book like this when I started learning Python many years ago.” – Mariatta Wijaya, Python Core Developer
“This book makes you write better Python code!” – Bob Belderbos, Software Developer at Oracle
“Far from being just a shallow collection of snippets, this book will leave the attentive reader with a deeper understanding of the inner workings of Python as well as an appreciation for its beauty.” – Ben Felder, Pythonista
“It’s like having a seasoned tutor explaining, well, tricks!” – Daniel Meyer, Sr. Desktop Administrator at Tesla Inc.
Review of Python Tricks: A Buffet of Awesome Python Features
I consider myself an ‘early intermediate’ Pythonista, with about three years of self-taught experience in the language, bolstered by all the good resources out there online. I first ran across Dan’s page / blog through a Twitter link, I think, and have really enjoyed his Python Tricks emails. Some of them aren’t news to me, but there have been multiple instances where they’ve given me a key insight into the behavior of Python, or an idea that’s helped me improve my projects.
As he notes in the Introduction, this book grew out of the Python Tricks emails, and it really shows. Dan has a knack for constructing code snippets that illustrate Python concepts in very few lines, and also for writing extremely clear descriptions of why they behave as they do. Further, even though Dan has years of Python experience, it seems clear to me he hasn’t lost the sense of the ways in which Python can be confusing to new learners. I’ve only sampled here and there from his Buffet at this point, but have already gained two new concrete pieces of knowledge: bytearrays are mutable whereas bytes are not; and all it takes to create an abstract base class is to use metaclass = ABCMeta and decorate as needed with @abstractmethod. Even though I’d looked at the Python documentation for both of these before, I never quite understood either of them. But, Dan’s phrasing and presentation made them crystal clear on my first read.
One additional thing I like about the book is how Dan has included bits and pieces of his philosophy on Python, programming, writing good code, etc. Some people might be turned off by the editorializing, I suppose, but I really appreciate that the book provides these sorts of “meta” perspectives.
All in all, an excellent resource for someone with modest to moderate Python experience looking to round out their knowledge of some of the more subtle features / behaviors of the language.
About the Author
Dan Bader is a software developer and consultant who helps Python programmers take their coding skills to the next level. His articles, videos, and trainings reach over half a million developers per year. Dan has more than 15 years of experience in software design and development and holds a bachelor’s and a master’s degree in Computer Science.