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
##难得的互补官方文档的语言书
评分##good enough
评分##繁琐的入门教程
评分##繁琐的入门教程
评分python的美啊,让人看了,觉得python真好。
评分##入门之后,想提高语言技巧和知识的,可以好好读一下。通常我是不喜欢这种大篇幅的书的,不过作者是老师,文笔比较流畅,读起来也不累。作者本人阅历很深,功底很深。他旁征博引,引用文章信手拈来,大师也。
评分##囫囵吞枣地啃完了
评分##good enough
评分##通俗易懂