注冊 | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁出版圖書科學(xué)技術(shù)計算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計程序設(shè)計綜合Python精粹(英文版)

Python精粹(英文版)

Python精粹(英文版)

定 價:¥118.00

作 者: 大衛(wèi)·M.比茲利
出版社: 電子工業(yè)出版社
叢編項:
標(biāo) 簽: 暫缺

ISBN: 9787121446023 出版時間: 2023-04-01 包裝: 平塑
開本: 頁數(shù): 字?jǐn)?shù):  

內(nèi)容簡介

  這是一本關(guān)于Python編程的書。它并未覆蓋Python的方方面面,其重點(diǎn)是呈現(xiàn)現(xiàn)代且精選的Python語言核心,即側(cè)重于Python編程本身。本書包括抽象實現(xiàn)、程序結(jié)構(gòu)、數(shù)據(jù)、函數(shù)、對象、模塊等主題,這些主題能夠有效幫助Python程序員應(yīng)對各種項目規(guī)模的挑戰(zhàn)。同時,本書通常會省略那些完全可以通過IDE輕松獲取的參考內(nèi)容(例如函數(shù)列表、命令名稱、參數(shù)等),并特意不去描述Python編輯器工具、IDE、部署等快速變化的內(nèi)容及相關(guān)問題。

作者簡介

  大衛(wèi)·M.比茲利是Python Essential Reference,F(xiàn)ourth Edition(Addison-Wesley,2010年出版)和Python Cookbook,Third Edition(O‘Reilly,2013年出版)的作者。他目前在自己的公司Dabeaz LLC教授高級計算機(jī)科學(xué)課程。自1996年以來,他一直在使用及教授Python,并進(jìn)行Python方面的寫作及演講。

圖書目錄

1 Python 基礎(chǔ) .................................................................................. 15
1.1 運(yùn)行 Python .............................................................................................................. 15
1.2 Python 程序 .............................................................................................................. 16
1.3 基本類型、變量與表達(dá)式 ...................................................................................... 17
1.4 算術(shù)運(yùn)算符 .............................................................................................................. 19
1.5 條件與控制流 .......................................................................................................... 21
1.6 文本串 ...................................................................................................................... 23
1.7 文件輸入與輸出 ...................................................................................................... 26
1.8 列表 .......................................................................................................................... 27
1.9 元組 .......................................................................................................................... 29
1.10 Set ........................................................................................................................... 31
1.11 字典 ........................................................................................................................ 32
1.12 迭代與循環(huán) ............................................................................................................ 35
1.13 函數(shù) ........................................................................................................................ 36
1.14 異常 ........................................................................................................................ 38
1.15 程序終止 ................................................................................................................ 40
1.16 對象和類 ................................................................................................................ 40
1.17 模塊 ........................................................................................................................ 44
1.18 腳本編寫 ................................................................................................................ 46
1.19 包 ............................................................................................................................ 47
1.20 構(gòu)建應(yīng)用程序 ........................................................................................................ 48
1.21 第三方包管理 ........................................................................................................ 49
1.22 Python 讓人感到舒適 ............................................................................................ 50
2 運(yùn)算符、表達(dá)式和數(shù)據(jù)操作 ................................................................. 51
2.1 字面量 ...................................................................................................................... 51
2.2 表達(dá)式與地址 .......................................................................................................... 52
2.3 標(biāo)準(zhǔn)運(yùn)算符 .............................................................................................................. 53
2.4 就地賦值 .................................................................................................................. 55
2.5 對象比較 .................................................................................................................. 56
2.6 有序比較運(yùn)算符 ...................................................................................................... 56
2.7 布爾表達(dá)式及真值 .................................................................................................. 57
2.8 條件表達(dá)式 .............................................................................................................. 58
2.9 迭代操作 .................................................................................................................. 59
2.10 序列操作 ................................................................................................................ 61
2.11 可變序列操作 ........................................................................................................ 63
2.12 Set 操作 .................................................................................................................. 64
2.13 映射操作 ................................................................................................................ 65
2.14 列表、Set 與字典解析式 ...................................................................................... 66
2.15 生成器表達(dá)式 ........................................................................................................ 68
2.16 特性(.)運(yùn)算符 ................................................................................................... 70
2.17 函數(shù)調(diào)用()運(yùn)算符 ................................................................................................. 70
2.18 求值順序 ................................................................................................................ 70
2.19 最后的話:數(shù)據(jù)的秘密 ........................................................................................ 72
3 程序結(jié)構(gòu)與控制流 ............................................................................ 73
3.1 程序結(jié)構(gòu)與執(zhí)行 ...................................................................................................... 73
3.2 條件執(zhí)行 .................................................................................................................. 73
3.3 循環(huán)與迭代 .............................................................................................................. 74
3.4 異常 .......................................................................................................................... 78
3.4.1 異常層次 ..................................................................................................... 81
3.4.2 異常與控制流 ............................................................................................. 82
3.4.3 定義新異常 ................................................................................................. 83
3.4.4 鏈?zhǔn)疆惓?..................................................................................................... 84
3.4.5 異?;厮?..................................................................................................... 87
3.4.6 異常處理建議 ............................................................................................. 87
3.5 上下文管理器和 with 語句 ..................................................................................... 89
3.6 斷言和__debug__ .................................................................................................... 91
3.7 最后的話 .................................................................................................................. 92
4 對象、類型和協(xié)議 ............................................................................ 93
4.1 核心概念 .................................................................................................................. 93
4.2 對象標(biāo)識與類型 ...................................................................................................... 94
4.3 引用計數(shù)與垃圾回收 .............................................................................................. 95
4.4 引用與復(fù)制 ........................................................................................

本目錄推薦

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