注冊 | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁出版圖書科學(xué)技術(shù)計算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計流利的Python語言(影印版 第2版 套裝上下冊)

流利的Python語言(影印版 第2版 套裝上下冊)

流利的Python語言(影印版 第2版 套裝上下冊)

定 價:¥198.00

作 者: [巴西] 盧西亞諾·拉馬略 著
出版社: 東南大學(xué)出版社
叢編項:
標(biāo) 簽: 暫缺

ISBN: 9787576601473 出版時間: 2022-09-01 包裝: 平裝
開本: 16開 頁數(shù): 983 字?jǐn)?shù):  

內(nèi)容簡介

  別浪費(fèi)時間讓Python去適應(yīng)你在其他語言中學(xué)到的模式。盡管Python的簡單性可迅速提高你的工作效率,但這往往意味著你并未運(yùn)用該語言所提供的所有特性。通過這本實踐指南的新版,你將學(xué)會如何利用理念來編寫有效的現(xiàn)代Python3代碼。發(fā)現(xiàn)并應(yīng)用超出你過往經(jīng)驗之外的Python3慣用特性。作者LucianoRamalho將帶你了解Python的核心語言特性和庫,并教你如何使代碼短、快、具可讀性。新版進(jìn)行了重大的新,共包含五部分,每部分都相當(dāng)于一本迷你書:數(shù)據(jù)結(jié)構(gòu):序列、字典、集合、Unicode和數(shù)據(jù)類。作為對象的函數(shù):頭等函數(shù)、相關(guān)設(shè)計模式和函數(shù)聲明中的類型提示。面向?qū)ο蟮膽T用法:組合、繼承、mixin、接口、運(yùn)算符重載、協(xié)議和多靜態(tài)類型??刂屏鳎荷舷挛墓芾砥?、生成器、協(xié)程、async/await和線程/進(jìn)程池。元編程:屬性、特性描述符、類裝飾器以及替代或簡化元類的新類元編程鉤子。

作者簡介

暫缺《流利的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

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號 鄂公網(wǎng)安備 42010302001612號