- 出版社: O'Reilly Media, Inc, USA; 3rd Revised edition (2013年5月23日)
- 平装: 706页
- 语种： 英语
- ISBN: 1449340377
- 条形码: 9781449340377
- 商品尺寸: 17.8 x 3.7 x 23.4 cm
- 商品重量: 1.1 Kg
- 品牌: O'Reilly Media, Inc, USA
- ASIN: 1449340377
- 用户评分: 3 条商品评论
- 亚马逊热销商品排名: 图书商品里排第66,129名 (查看图书商品销售排行榜)
Python Cookbook (英语) 平装 – 2013年5月23日
David Beazley is an independent software developer and book author living in the city of Chicago. He primarily works on programming tools, provide custom software development, and teach practical programming courses for software developers, scientists, and engineers. He is best known for his work with the Python programming language, for which he has created several open-source packages (e.g., Swig and PLY) and authored the acclaimed Python Essential Reference. He also has significant experience with systems programming in C, C++, and assembly language. Brian K. Jones is a system administrator in the department of computer science at Princeton University.
我是在读完<Fluent Python>之后再读这本<Python Cookbook>, 所以感觉书中的知识点大部分都能较轻松理解。 第一作者David Beazley 是Generator 和 Corotine方面的权威，特别是他在分别在2009 PyCon 和 2014 PyCon 的讲演 <A Curious Course on Coroutines and Concurrency> 和 <Generators: The Final Frontier> 堪称史上经典。所以这本书的4，7，和12章是这本书的精华。建议大家重点精读，思考和实践。
这本书虽不能称为在我心目中最佳的Python书籍（我心目中的第一绝对是Luciano的<Fluent Python>），但是也是绝对的值得入手，并且每天阅读的Python经典。...阅读更多 ›
This book has showed me how to do a lot of new things, and even if I already knew how to do something, now I know how to do it better, faster, cleaner, or more robustly.
The book is also well written. Finding the material, and reading through the narratives for particular snippets of code is very clear, there's rarely a need to go back to re-read anything, ideas are conveyed simply but effectively.
I own a bunch of other Python books, but they all have a time and place in your learning process. This book spans so much material, that it is much more universal; I keep going back to it to look things up, sometimes for no other reason but to verify that I'm on the right path.
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.
Don't expect to get much from this book if you are new to Python. But for the seasoned Python programmer, this book will teach you new tricks and live by your desk as a constant reference. This book includes chapters full of various things you might want to "cook up" in your Python program, each example with an extensive discussion about it. Each chapter is very organized and it's quick to find exactly what you need.
I own a printed copy of the book, and the quality of the typesetting and printing was done very well on my copy.
When he discusses a problem, Beazley gives you his favorite solution. He also presents alternatives, discusses pros and cons, and calls your attention to subtle details in the solution --- leaving you with a feeling of having learned something of value.
But that's only the beginning. It's hard to describe the pleasure of reading some of the solutions in the Iterators and Generators section, for instance. Actually, I take that back. The pleasure is the same kind as what you may have felt when you first came upon ideas in books such as Bentley's Programming Pearls, way back when.
I hadn't felt that excited about a programming book in a long time. This is one you can take along with you on a weekend just for the pleasure of sipping from it. Sad to say, but there are many O'Reilly books I feel like passing on soon after acquiring them. This one will have a special place on the shelves.