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.
To get the free app, enter your mobile phone number.
Python Tricks: A Buffet of Awesome Python Features Paperback – October 25, 2017
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Frequently bought together
Customers who bought this item also bought
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. Find out more about Dan at www.dbader.org.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
I consider my Python level to be intermediate. I have completed reading 100 pages(1/3 of the book). Although the content is decent, this feels like it is targeted more towards beginner(not an absolute beginner) than intermediate level. I am hardly learning anything new that is already not in Fluent Python (which is a big ass book in comparison but provides better understanding of the Pythonic tricks) or in Raymond Hettinger or David Beazley’s videos on YouTube.
I will update the review once I finish reading the entire book.
Update: I finished reading the book and I still stand by what I said earlier. If you have time and patience, go with Fluent python. Other than the new style string formatting, rest of the content is mostly covered in that.
That does not mean this is not a good book. I really loved some of the chapters like generators, iterators. The examples were more simple and easy to understand. Overall, I found this book to be more of a tutorial than a reference material. Mainly because I use the excellent pymotw website for the Collections part of the book.
The book is written in very simple language without use of complex jargons. Complex python topics are explained without making user feel the complexity of the topic.
While all the chapters are awesome, I specially loved the simplicity with which Dan explains the complex terms like Decorators, Iterators, Generators and other complex topics. I know it takes lots of work and efforts to explain such topics with such details without making the readers feel lost.
The book uncovers some python features that we always saw happening but never thought why !!
There is lots of learning packed in these 300 pages. The book serves well for beginners to advanced readers. It’s a must and great addition to your library. Happy Pythoning. 🙂
While the word "tricks" may seem like you are going to be doing weird, non-normal things with python, this book teaches you quite the opposite. Every level, from beginner to advanced, will absolutely learn something from this book, but not only that, it will help solidify things that you already know or, as was in my case, show you that there are many more things that you can do than you originally thought.
I have more than 20 books on Python. This is the one I ALWAYS check first if I have a question. It doesn't cover everything, obviously, but it is the most coherent, well thought out of the books that I have and I recommend it to anyone that will listen. Do yourself a favor, spend the less than $20 that this book costs and become a better pythonista from page 1.
He showed me the book via video conferencing and I sort of skimmed through it as he flipped the pages for me, and I was immediately curious to read more.
That same afternoon I purchased my own copy and proceeded to read your explanation for the way dictionaries are created in Python and later that day, as I met a different co-worker for coffee, I used the same trick on him :)
He then sprung a different question on the same principle, and because of the way you explained things in your book, I was able to **not** guess the result but correctly answer what the outcome would be.
That means that you did a great job at explaining things :)
I am not new in Python and some of the concepts in some of the chapters are not new to me, but I must say that I do get something out of every chapter so far, so kudos for writing a very nice book and for doing a fantastic job at explaining concepts behind the tricks!
I’m very much looking forward to the updates and I will certainly let my friends and co-workers know about your book.