Python Cookbook: Recipes for Mastering Python 3
J**C
Great book, Kindle version has table of contents
I already have the print version of this book, and like it a lot. It's full of very instructive examples that you can study and learn from.I bought the Kindle edition in January 2019 wondering if it had a table of contents, as some people said, no, it didn't.First of all, I wouldn't even try to read the Kindle edition on my Kindle Paperwhite, since the screen is too small and the contrast is not great. Instead, I read it on the Kindle for PC Windows program, and the book is easy to read, including the code examples (this is on a 24" monitor).I can report that when read on the Kindle PC program, the inline text in the main window does not include a text version of the table of contents. However, on the left side of the Kindle PC program, if you click the icon for "table of contents", a full clickable and expandable table of contents appears in a narrow window to the left of the main text window. This is fully usable as a table of contents, and makes for very easy browsing. There is also a full clickable index at the end of the main body of text. The page numbers in my Kindle edition correspond exactly with the page numbers in my printed version. Another Kindle for PC plus: the example code uses color for syntax highlighting, which is nice.Edit: Upon further browsing, if you go to the very end of the main text window, there is a clickable text version of the table of contents. It's not so useful at the very end of the document - the left-side table of contents window is much more convenient. This is in the Kindle for PC Windows program.
A**R
Great resource book
I got this to have as a reference and it is amazing
W**S
Treasure Trove of Python Recipes
Python Cookbook goes in depth on a variety of different Python topics. Each section is similar to a question that might be asked on Stack Overflow. The recipes range in difficulty from easy to advanced metaprogramming.One particular recipe that I liked was 9.1 on how to time a function. When I am using Python I often need to time the code, and usually I need to look up how to do it. This example created a decorator function for timing. It makes it so that you can just put @timethis on top of a function and see how long it takes to execute. I appreciated how elegant this solution was as opposed to the way I was implementing it.Most examples are self contained and all the code examples that I tried worked. Additionally, there is a GitHub that the authors created which provides all the code for the examples if you do not want type it yourself. The examples themselves were applied to real world problems; I could see how the recipe was used clearly. When the authors felt they could not provide an entire solution in the text, they point the correct place to visit online.The range in topics was impressive. I found the most challenging chapters to be 9, 12, and 15 which were on metaprogramming, concurrency, and C Extensions. At the beginning of the book the recipes cover topics you would expect like data structures and algorithms, strings, and generators. I found myself surprised that I had not seen a lot of the techniques and solutions before. They were well crafted solutions, and I appreciated how much time and detail the authors must have spent to gather the information.This is a great reference to have by your side when programming in Python.
D**S
A good addition to my Python library
Overall a worthwhile addition to my Python library. I thought at first that the coverage levels were uneven - some of the data structures discussion could easily be grasped by a beginner but the Class recipes were very deficit to comprehend. That may be more indicative of indicating where I'm not up to speed in my Python than anything to do with the writing. The text by itself is pleasant and non-academic with clear explanations. There is, admittedly, a lot in the book that is currently well beyond my understanding (I'm a retired programmer but never worked in most of the areas covered), so the book additionally has provided a challenge to learn from someone who obviously knows what they're doing.
D**N
Wisdom - not just examples. Best viewed on a larger screen
The Active State repository of Python recipes includes many gems, but as the Authors observe in their preference: "most of these recipes are steeped in history and the past". I'd add that the signal to noise ratio seems to be decreasing. The most prolific contributors (with the exception of Raymond Hettinger) have posted trivial examples rather than recipes. This book includes some simple examples too, but it's always in the context of a larger message. Excellent content and advice without the chaff.I just bought this today. Unlike some early technical Kindle books I've purchased, the formatting is excellent. Kudos to the authors and publisher. But when I first browsed the content with Kindle-Android on my 7" tablet (Nexus), I still found it frustrating to read. Next, I tried my laptop with a 14" screen - better. And then tried it on my PC with a large monitor and found reading and jumping around the content much more productive and pleasurable. Switched back to the tablet, I changed the text settings to minimums for font size, margin size, line spacing and entered full-screen mode. Result: much better! That said, I still found the much larger screen area on my PC monitor preferable.Bottom Line: Buy this for great Python 3.3 code and advice in a flexible format.
D**A
Quick reference for python used in college
My daughter used my old one in highschool. We bought her a new one for college.She used it often as a reference for her CompSci courses in advanced computer imaging. It is a quick reference small enough to easily fit in a backpack.
M**H
Best book for Python 3
Really good book one should read if want to write more pythonic code.Recommended only for intermediate n advanced python users.
E**4
Une référence
Excellent livre qui permet de progresser et de produire un code très efficace. Les exemples sont très didactiques, ne tombent pas dans des détails oiseux et se concentrent sur ce qui est à expliquer.De très nombreux thèmes sont abordés et il est facile de développer ses propres solutions à partir de là.Je me réfère à ce livre systématiquement pour mon code.Pour ceux qui connaissent Python, si il y a un livre sur Python à acheter, c'est celui-ci.
A**L
Fare le cose nel modo più corretto
Molte tra le procedure che si sviluppano con gli script sono ripetitive e differiscono solo per certi dettagli.E' quindi molto utile impostarle tutte secondo i migliori standard conosciuti. Questo libro serve proprio a questo. Tra l'altro consente di risparmiare un sacco di tempo.
M**N
Amazing book, love it!
I have been programming with python for 3-4 years, every time I open this book, I learn one new and awesome thing from it. I love the way the authors look at the problems and give you a creative solution.
C**N
Amazing source
Being honest from all the programming books I've got O'Reilly books are the best. Always advanced level information yet you never feel troubled as a beginner. Most books on the market are targeting the quick corner fast track students, but O'Reilly books are more suitable if you want to be Senior dev in the future you should definetely purchase all related programming books with O'Reilly and absorbe all you can. The only thing I wish that they didn't use a rat as cover to their python books. That cover gives me creep, otherwise I would add them to my basket without thinking :)
Trustpilot
1 day ago
2 weeks ago