日韩精品 中文字幕 动漫,91亚洲午夜一区,在线不卡日本v一区v二区丶,久久九九国产精品自在现拍

注冊 | 登錄讀書好,好讀書,讀好書!
讀書網-DuShu.com
當前位置: 首頁出版圖書科學技術計算機/網絡軟件與程序設計程序設計綜合Python精粹(英文版)

Python精粹(英文版)

Python精粹(英文版)

定 價:¥118.00

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

購買這本書可以去


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

內容簡介

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

作者簡介

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

圖書目錄

1 Python 基礎 .................................................................................. 15
1.1 運行 Python .............................................................................................................. 15
1.2 Python 程序 .............................................................................................................. 16
1.3 基本類型、變量與表達式 ...................................................................................... 17
1.4 算術運算符 .............................................................................................................. 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 構建應用程序 ........................................................................................................ 48
1.21 第三方包管理 ........................................................................................................ 49
1.22 Python 讓人感到舒適 ............................................................................................ 50
2 運算符、表達式和數(shù)據(jù)操作 ................................................................. 51
2.1 字面量 ...................................................................................................................... 51
2.2 表達式與地址 .......................................................................................................... 52
2.3 標準運算符 .............................................................................................................. 53
2.4 就地賦值 .................................................................................................................. 55
2.5 對象比較 .................................................................................................................. 56
2.6 有序比較運算符 ...................................................................................................... 56
2.7 布爾表達式及真值 .................................................................................................. 57
2.8 條件表達式 .............................................................................................................. 58
2.9 迭代操作 .................................................................................................................. 59
2.10 序列操作 ................................................................................................................ 61
2.11 可變序列操作 ........................................................................................................ 63
2.12 Set 操作 .................................................................................................................. 64
2.13 映射操作 ................................................................................................................ 65
2.14 列表、Set 與字典解析式 ...................................................................................... 66
2.15 生成器表達式 ........................................................................................................ 68
2.16 特性(.)運算符 ................................................................................................... 70
2.17 函數(shù)調用()運算符 ................................................................................................. 70
2.18 求值順序 ................................................................................................................ 70
2.19 最后的話:數(shù)據(jù)的秘密 ........................................................................................ 72
3 程序結構與控制流 ............................................................................ 73
3.1 程序結構與執(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 鏈式異常 ..................................................................................................... 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 對象標識與類型 ...................................................................................................... 94
4.3 引用計數(shù)與垃圾回收 .............................................................................................. 95
4.4 引用與復制 ........................................................................................

本目錄推薦

掃描二維碼
Copyright ? 讀書網 rgspecialties.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號 鄂公網安備 42010302001612號