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
##大開眼界
評分##通俗易懂
評分##對於語言關鍵特性剖析到位,示例代碼值得學習,Further Readings給齣瞭更進一步的Reading Map。Great Book!
評分##很好的進階書,覆蓋瞭Python 3的所有新特性;對示例代碼的講解非常詳細,每章末尾給齣的參考文獻也很棒。
評分##繁瑣的入門教程
評分##通俗易懂
評分##good enough
評分##通俗易懂
評分python的美啊,讓人看瞭,覺得python真好。