-
>
全國計算機等級考試最新真考題庫模擬考場及詳解·二級MSOffice高級應用
-
>
決戰行測5000題(言語理解與表達)
-
>
軟件性能測試.分析與調優實踐之路
-
>
第一行代碼Android
-
>
JAVA持續交付
-
>
EXCEL最強教科書(完全版)(全彩印刷)
-
>
深度學習
流利的Python語言(影印版第2版上下) 版權信息
- ISBN:9787576601473
- 條形碼:9787576601473 ; 978-7-5766-0147-3
- 裝幀:一般膠版紙
- 冊數:暫無
- 重量:暫無
- 所屬分類:>
流利的Python語言(影印版第2版上下) 內容簡介
別浪費時間讓Python去適應你在其他語言中學到的模式。盡管Python的簡單性可迅速提高你的工作效率,但這往往意味著你并未運用該語言所提供的所有特性。通過這本實踐指南的更新版,你將學會如何利用很好理念來編寫有效的現代Python 3代碼。 發現并應用超出你過往經驗之外的Python 3慣用特性。作者Luciano Ramalho將帶你了解Python的核心語言特性和庫,并教你如何使代碼更短、更快、更具可讀性。 新版進行了重大的更新,共包含五部分,每部分都相當于一本迷你書: 數據結構:序列、字典、集合、Unicode和數據類。 作為對象的函數:頭等函數、相關設計模式和函數聲明中的類型提示。 面向對象的慣用法:組合、繼承、mixin、接口、運算符重載、協議和更多靜態類型。 控制流:上下文管理器、生成器、協程、async/await和線程/進程池。 元編程:屬性、特性描述符、類裝飾器以及替代或簡化元類的新類元編程鉤子。
流利的Python語言(影印版第2版上下) 目錄
Preface
Part I. Data Structures
1. The Python Data Model
What's New in This Chapter
A Pythonic Card Deck
How Special Methods Are Used
Emulating Numeric Types
String Representation
Boolean Value of a Custom Type
Collection API
Overview of Special Methods
Why len Is Not a Method
Chapter Summary
Further Reading
2. An Array of Sequences
What's New in This Chapter
Overview of Built-In Sequences
List Comprehensions and Generator Expressions
List Comprehensions and Readability
Listcomps Versus map and filter
Cartesian Products
Generator Expressions
Tuples Are Not lust Immutable Lists
Tuples as Records
Tuples as Immutable Lists
Comparing Tuple and List Methods
Unpacking Sequences and Iterables
Using * to Grab Excess Items
Unpacking with in Function Calls and Sequence Literals
Nested Unpacking
Pattern Matching with Sequences
Pattern Matching Sequences in an Interpreter
Slicing
Why Slices and Ranges Exclude the Last Item
Slice Objects
Multidimensional Slicing and Ellipsis
Assigning to Slices
Using + and * with Sequences
Building Lists of Lists
Augmented Assignment with Sequences
A += Assignment Puzzler
list.sort Versus the sorted Built-In
When a List Is Not the Answer
Arrays
Memory Views
NumPy
Deques and Other Queues
Chapter Summary
Further Reading
3. Dictionaries and Sets
流利的Python語言(影印版第2版上下) 作者簡介
盧西亞諾·拉馬略,1998開始成為Python程序員,是Python軟件基金會的會員,巴西培訓公司Python.pro.br的共同所有人,巴西 家黑客空間Garoa Hacker Clube的聯合創始人。他領導過軟件開發團隊,并在巴西的媒體、銀行和政府部門教授過Python課程。
- >
煙與鏡
- >
唐代進士錄
- >
回憶愛瑪儂
- >
苦雨齋序跋文-周作人自編集
- >
伊索寓言-世界文學名著典藏-全譯本
- >
月亮虎
- >
史學評論
- >
經典常談