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. He has presented multiple talks at PyCon US, OSCON, FISL, Rupy, QCon and PythonBrasil. Ramalho is a fellow 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, a training company.
Python’s simplicity lets you become productive quickly, but often this means you aren’t using everything it has to offer. With the updated edition of this hands-on guide, you’ll learn how to write effective, modern Python 3 code by leveraging its best ideas.
Don’t waste time bending Python to fit patterns you learned in other languages. Discover and apply idiomatic Python 3 features beyond your past experience. Author Luciano Ramalho guides you through Python’s core language features and libraries and teaches you how to make your code shorter, faster, and more readable.
Featuring major updates throughout the book, Fluent Python, second edition, covers:
Special methods: The key to the consistent behavior of Python objects
Data structures: Sequences, dicts, sets, Unicode, and data classes
Functions as objects: First-class functions, related design patterns, and type hints in function declarations
Object-oriented idioms: Composition, inheritance, mixins, interfaces, operator overloading, static typing and protocols
Control flow: Context managers, generators, coroutines, async/await, and thread/process pools
Metaprogramming: Properties, attribute descriptors, class decorators, and new class metaprogramming hooks that are simpler than metaclasses
##Python如今已是異常火爆,這本書是給入門Python語言之後,想進一步學習Python的同學準備的。難能可貴的是,本書花瞭大量篇幅,通過許多例子深入講解瞭文本編碼、迭代器與生成器,協程,並發程序設計,元編程等諸多實用且對新人有難度的知識點,需要讀者反復閱讀理解相關章節。 ...
評分 評分 評分##進階確實算進階,一周左右讀完,英文版第二版相比第一版來說,整體添加內容感覺不到10%,最後3章內容比較高階一些,平時也比較少涉略,讀起來確實有點費勁,整體感覺python本身思想還是有點亂,天馬行空,沒有c++和java那麼嚴謹,所以語法會讓你覺得很彆扭。
評分 評分##深入學習 Python 的一本好書。書中並不是常規地介紹 Python 諸如語法,錶達式,控製流之類,如何使用其進行 Program,而是全麵而深入地介紹 Python 當中的相關特性,並靈活地運用這些特性,應用到實際的問題和例子當中,編寫齣 Pythonic 的代碼,真正形成一種編寫 Python代碼的...
評分在看這本書之前,我閱讀過Python核心編程、Dive Into Python、Pro Python,相比較這本書,那些書算是入門瞭,很少能有這麼一本深入理解Python的書。這本書我先通讀一遍,再結閤[Pro Django] ,在有針對性的閱讀,真是收獲滿滿。個人覺得python的與眾不同有幾點:多重繼承、元編...
評分 評分在看這本書之前,我閱讀過Python核心編程、Dive Into Python、Pro Python,相比較這本書,那些書算是入門瞭,很少能有這麼一本深入理解Python的書。這本書我先通讀一遍,再結閤[Pro Django] ,在有針對性的閱讀,真是收獲滿滿。個人覺得python的與眾不同有幾點:多重繼承、元編...
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.tinynews.org All Rights Reserved. 静思书屋 版权所有