Learn how to write idiomatic, effective Python code by leveraging its best features. Python's simplicity quickly lets you become productive with it, but this often means you aren’t using everything the language has to offer. By taking you through Python’s key language features and libraries, this practical book shows you how to make your code shorter, faster, and more readable all at the same time—what experts consider Pythonic. Many programmers who learn Python basics fall into the trap of reinventing the wheel because of past experience in other languages, and try to bend the language to patterns that don't really apply to it. Author Luciano Ramalho, a Python Software Foundation member and Python programmer for 15 years, helps you drop your accent from another language so you can code Python fluently. •Learn practical applications of generators for database processing •Rethink some design patterns in a Python context •Examine attribute descriptors and when to use them: the key to ORMs •Explore Pythonic objects: protocols versus interfaces, abstract base classes and multiple inheritance
Luciano Ramalho was a Web developer before the Netscape IPO in 1995, and switched from Perl to Java to Python in 1998. Since then he worked on some of the largest news portals in Brazil using Python, and taught Python web development in the Brazilian media, banking and government sectors. His speaking credentials include PyCon US (2013), OSCON (2002, 2013), and 15 talks over the years at PythonBrasil (the Brazilian PyCon) and FISL (the largest FLOSS conference in the Southern Hemisphere). Ramalho is a member of the Python Software Foundation and co-founder of Garoa Hacker Clube, the first hackerspace in Brazil. He is co-owner of Python.pro.br, atraining company.
@ 汪杨 比较高阶的python书籍 @ ggarlic further reading挺好 @ 机动美少年高興 深度广度俱佳，举例与理论契合，补充材料丰富，文字通畅，读起来十分过瘾。唯一有点不喜欢的地方是 coroutine、GIL、asyncio 有很多小细节需要自己去抠，书里没法面面俱到。不过这三个主题本身就很鸡毛，能引人入门就很不错了～ @ 4AMLA 技术书籍被我当成cookbook了，哈哈。 @ 廿五 很好的进阶书，覆盖了Python 3的所有新特性；对示例代码的讲解非常详细，每章末尾给出的参考文献也很棒。 @ 一个人的游荡 A great read if you want to dive deep into Python @ ssssffff 挺详细的，挺好，最喜欢further reading了 @ 愁容下士 见过的把 decorator, closure, iterator, generator 写得最清楚的书，实例和注都十分精炼，看完这本在看 Head First 系列就觉得实在是太啰嗦了。再写 python 开始觉得自己慢慢在写 reusable and pythonic code instead of just usable code @ 屋子里就我一个 放在桌子上，每次翻翻都有很多收获 @ zppz python 3.4