Fluent Python (Paperback)
暫譯: 流暢的 Python (平裝本)
Luciano Ramalho
- 出版商: O'Reilly
- 出版日期: 2015-09-01
- 售價: $2,220
- 貴賓價: 9.5 折 $2,109
- 語言: 英文
- 頁數: 792
- 裝訂: Paperback
- ISBN: 1491946008
- ISBN-13: 9781491946008
-
相關分類:
Python、程式語言
-
相關翻譯:
流暢的 Python|清晰、簡潔、有效的程式設計 (Fluent Python) (繁中版)
流暢的 Python (簡中版)
-
其他版本:
Fluent Python: Clear, Concise, and Effective Programming, 2/e (Paperback)
買這商品的人也買了...
-
$2,210$2,100 -
$2,180$2,071 -
$1,140Effective Java, 2/e (Paperback)
-
$2,040$1,938 -
$2,980$2,831 -
$580$452 -
$2,166Python Cookbook, 3/e (Paperback)
-
$1,530$1,454 -
$580$458 -
$3,050$2,898 -
$2,160$2,052 -
$1,890$1,796 -
$1,700$1,615 -
$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,040$1,938 -
$350$277 -
$360$180 -
$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 套件的並發性
- **元編程:** 理解屬性、屬性描述符、類裝飾器和 metaclasses 的運作方式