Fluent Python (Paperback)
Luciano Ramalho
- 出版商: O'Reilly
- 出版日期: 2015-09-01
- 售價: $2,190
- 貴賓價: 9.5 折 $2,081
- 語言: 英文
- 頁數: 792
- 裝訂: Paperback
- ISBN: 1491946008
- ISBN-13: 9781491946008
-
相關分類:
Python、程式語言
-
相關翻譯:
流暢的 Python|清晰、簡潔、有效的程式設計 (Fluent Python) (繁中版)
流暢的 Python (簡中版)
-
其他版本:
Fluent Python: Clear, Concise, and Effective Programming, 2/e (Paperback)
買這商品的人也買了...
-
$2,170$2,062 -
$2,140$2,033 -
$1,140Effective Java, 2/e (Paperback)
-
$2,010$1,910 -
$2,980$2,831 -
$580$452 -
$2,166$2,052 -
$1,500$1,425 -
$580$493 -
$3,000$2,850 -
$2,090$1,980 -
$1,860$1,767 -
$1,670$1,587 -
$680$537 -
$450$356 -
$780$616 -
$360$284 -
$400$316 -
$1,485Learning Perl : Making Easy Things Easy and Hard Things Possible, 7/e (Paperback)
-
$2,010$1,910 -
$350$277 -
$360$281 -
$580$458 -
$505深入淺出統計學 (Head First Statistics)
-
$2,205Effective Python: 90 Specific Ways to Write Better Python, 2/e (Paperback)
相關主題
商品描述
Python’s simplicity lets you become productive quickly, but this often means you aren’t using everything it has to offer. With this hands-on guide, you’ll learn how to write effective, idiomatic Python code by leveraging its best—and possibly most neglected—features. Author Luciano Ramalho takes you through Python’s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time.
Many experienced programmers try to bend Python to fit patterns they learned from other languages, and never discover Python features outside of their experience. With this book, those Python programmers will thoroughly learn how to become proficient in Python 3.
This book covers:
- Python data model: understand how special methods are the key to the consistent behavior of objects
- Data structures: take full advantage of built-in types, and understand the text vs bytes duality in the Unicode age
- Functions as objects: view Python functions as first-class objects, and understand how this affects popular design patterns
- Object-oriented idioms: build classes by learning about references, mutability, interfaces, operator overloading, and multiple inheritance
- Control flow: leverage context managers, generators, coroutines, and concurrency with the concurrent.futures and asyncio packages
- Metaprogramming: understand how properties, attribute descriptors, class decorators, and metaclasses work
商品描述(中文翻譯)
Python的簡潔性讓您能夠快速提高生產力,但這通常意味著您並未充分利用它所提供的一切。透過這本實踐指南,您將學習如何透過充分利用Python的最佳特性(可能也是最被忽視的特性)來撰寫有效且符合慣用法的Python程式碼。作者Luciano Ramalho將帶領您深入了解Python的核心語言特性和函式庫,並教您如何同時使程式碼更短、更快速和更易讀。
許多有經驗的程式設計師試圖將Python彎曲成符合他們從其他語言學到的模式,卻從未發現Python在他們經驗之外的特性。透過這本書,這些Python程式設計師將全面學習如何精通Python 3。
本書涵蓋以下內容:
- Python資料模型:了解特殊方法如何確保物件的一致行為
- 資料結構:充分利用內建型別,並了解在Unicode時代中的文字與位元組的雙重性質
- 函式作為物件:將Python函式視為一等物件,並了解這如何影響常見的設計模式
- 物件導向慣用法:透過學習參考、可變性、介面、運算子重載和多重繼承來建立類別
- 控制流程:利用上下文管理器、生成器、協程以及concurrent.futures和asyncio套件實現並行處理
- 元程式設計:了解屬性、屬性描述符、類別裝飾器和元類的運作方式