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
##繁瑣的入門教程
評分##幾個月前,第一次看,當時的感覺是,作者在說什麼?最近第二次讀,纔發現這本書的好。不適閤初學者看。
評分##深度廣度俱佳,舉例與理論契閤,補充材料豐富,文字通暢,讀起來十分過癮。唯一有點不喜歡的地方是 coroutine、GIL、asyncio 有很多小細節需要自己去摳,書裏沒法麵麵俱到。不過這三個主題本身就很雞毛,能引人入門就很不錯瞭~
評分##good enough
評分python的美啊,讓人看瞭,覺得python真好。
評分##大開眼界
評分##很好的進階書,覆蓋瞭Python 3的所有新特性;對示例代碼的講解非常詳細,每章末尾給齣的參考文獻也很棒。
評分##不是入門書,但是有一些基礎之後再看可以學到許多tips
評分##入門之後,想提高語言技巧和知識的,可以好好讀一下。通常我是不喜歡這種大篇幅的書的,不過作者是老師,文筆比較流暢,讀起來也不纍。作者本人閱曆很深,功底很深。他旁徵博引,引用文章信手拈來,大師也。
本站所有內容均為互聯網搜尋引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2026 book.teaonline.club All Rights Reserved. 圖書大百科 版權所有