Index 索引
本页译自 Think Python 2e(Allen B. Downey)· Index。代码块保留英文原文不翻译;正文段段对照,中文块可用右下角按钮隐藏。
This index lists the terms of the book with the sections where they appear. Section numbers follow the original book numbering (Chapter 0 = Preface, A/B/C = appendices).
本索引按原书编号列出全书术语及其出现的小节。编号沿用原书体系:第 0 章为前言,A/B/C 为附录。因本站章页按文件序号命名,原书第 n 章对应本站 ch(n+1).html(例如原书 6.11 节在 ch7.html 内,附录 A 在 ch21.html)。每个英文词条后的蓝色小字为中文对译。
- Ackermann function 阿克曼函数, 6.11, 11.5
- Archimedian spiral 阿基米德螺线, 4.12
- AttributeError AttributeError 异常, 15.7, A.2.3
- Austin, Jane 简·奥斯汀, 13.3
- abecedarian 按字母序, 8.3, 9.2
- abs function abs 函数, 6.1
- absolute path 绝对路径, 14.4, 14.11
- access 访问, 10.2
- accumulator 累加器, 10.14
- histogram 直方图, 13.3
- list 列表, 10.7
- string 字符串, 18.5
- sum 求和, 10.7
- add method add 方法, 17.7
- addition with carrying 进位加法, 7.6
- algorithm 算法, 1.2, 1.7, 7.6, 13.7, B
- MD5 MD5(哈希), 14.8
- RSA RSA(加密), 11.7
- square root 平方根, 7.9
- aliasing 别名, 10.10, 10.11, 10.14, 15.2, 15.6, 17.13
- copying to avoid 复制以避免别名, 10.13
- alphabet 字母表, 4.12
- alternative execution 二选一执行, 5.5
- ambiguity 歧义, 1.4
- anagram 变位词, 10.15
- anagram set 变位词集合, 12.11, 14.7
- analysis of algorithms 算法分析, B
- analysis of primitives 原语分析, B.2
- and operator and 运算符, 5.3
- anydbm module anydbm 模块, 14.6
- append method append 方法, 10.6, 10.12, 10.15, 18.4, 18.6
- arc function arc 函数, 4.3
- argument 实参, 3.1, 3.5, 3.8, 3.8, 3.15, 10.12
- gather 打包, 12.4
- keyword 关键字实参, 4.5, 4.11, 12.7, 19.2
- list 列表, 10.12
- optional 可选实参, 8.8, 10.9, 11.3
- variable-length tuple 可变长度元组, 12.4
- argument scatter 实参拆包, 12.4
- arithmetic operator 算术运算符, 2.4
- assert statement assert 语句, 16.5
- assignment 赋值, 2.11, 7.1, 10.1
- augmented 增量赋值, 10.7, 10.14
- item 元素赋值, 8.5, 10.2, 12.1
- multiple 多重赋值, 7.8, 11.6
- tuple 元组, 12.2, 12.3, 12.5, 12.10
- assignment statement 赋值语句, 2.2
- asymptotic analysis 渐近分析, B
- attribute 属性, 17.11
- __dict__ __dict__ 属性, 17.10
- class 类, 18.2, 18.11
- initializing 初始化, 17.10
- instance 实例, 15.2, 15.8, 18.2, 18.11
- augmented assignment 增量赋值, 10.7, 10.14
- available colors 可用颜色, 15.9, 17.13
- average case 平均情形, B
- average cost 平均代价, B.4
- Bangladesh, national flag 孟加拉国国旗, 15.9
BetterMapBetterMap 类, B.4- Button widget 按钮控件, 19.2
- badness 不良度, B.1
- base case 基础情形, 5.9, 5.13, C.2
- benchmarking 基准测试, 13.9, 13.11
- big, hairy expression 又大又乱的表达式, A.3.2
- big-oh notation 大 O 表示法, B.1
- binary search 二分查找, 10.15
- binding 绑定, 19.8, 19.10
- bingo 宾果(游戏), 12.11
- birthday 生日, 16.7
- birthday paradox 生日悖论, 10.15
bisectmodule bisect 模块, B.3- bisect module bisect 模块, 10.15, B.3
- bisection search 二分搜索, B.3
- bisection search 二分搜索, 10.15
- bisection, debugging by 二分法调试, 7.7
- bitwise operator 位运算符, 2.4
- body 函数体, 3.5, 3.15, 7.3
- bool type bool 类型, 5.2
- boolean expression 布尔表达式, 5.2, 5.13
- boolean function 布尔函数, 6.4, 16.1
- boolean operator 布尔运算符, 8.9
- borrowing, subtraction with 借位减法, 7.6, 16.4
- bound method 绑定方法, 19.6, 19.10
- bounded 有界的, B.4
- bounding box 边界框, 15.9, 19.4, 19.10
- bracket 括号
- squiggly 花括号, 11
- bracket operator 括号运算符, 8.1, 10.2, 12.1
- branch 分支, 5.5, 5.13
- break statement break 语句, 7.4
- bubble sort 冒泡排序, B
- bug 缺陷, 1.3, 1.3, 1.7
- worst 最严重, 17.13
- worst ever 史上最糟, 19.11
- Callable object 可调用对象, 19.7
- Canvas coordinate 画布坐标, 19.3, 19.8
- Canvas item 画布项, 19.3
- Canvas object 画布对象, 15.9
- Canvas widget 画布控件, 19.3
- Car Talk Car Talk(电台节目), 9.7, 9.7, 9.7, 11.10, 12.11
- Card class Card 类, 18.1, C.5
- Collatz conjecture 考拉兹猜想, 7.3
- Creative Commons 知识共享(许可), 0
- Czech Republic, national flag 捷克国旗, 15.9
- calculator 计算器, 1.8, 2.12
- call graph 调用图, 11.5, 11.9
- callback 回调, 19.2, 19.6, 19.7, 19.8, 19.9, 19.10
- card, playing 扑克牌, 18
- carrying, addition with 进位加法, 7.6, 16.2, 16.4
- case-sensitivity, variable names 变量名大小写敏感, 2.10
- catch 捕获, 14.11
- chained conditional 链式条件, 5.6, 5.13
- character 字符, 8.1
- checksum 校验和, 14.8, 14.8
- child class 子类, 18.7, 18.11
- choice function choice 函数, 13.2
- circle function circle 函数, 4.3
- circular definition 循环定义, 6.5
- class 类, 15.1, 15.8
- Card Card 类, 18.1
- child 子类, 18.7, 18.11
- Deck Deck 类, 18.4
- Hand Hand 类, 18.7
- Kangaroo Kangaroo 类, 17.13
- Point Point 类, 15.1, 17.5, C.3
- parent 父类, 18.7
- Rectangle Rectangle 类, 15.3, C.3
- SimpleTurtleWorld SimpleTurtleWorld 类, 19.6
- Time Time 类, 16.1
- class attribute 类属性, 18.2, 18.11
- class definition 类定义, 15.1
- class diagram 类图, 18.8, 18.11, C, C.5, C.5
- class object 类对象, 15.1, 15.8, C.4
- close method close 方法, 14.2, 14.6, 14.8
- cmp function cmp 函数, 18.3
- __cmp__ method __cmp__ 方法, 18.3
- colon 冒号, 3.5, A.1
- color list 颜色列表, 15.9, 17.13
- comment 注释, 2.9, 2.11
- commutativity 交换性, 2.8, 17.8
- compare function compare 函数, 6.1
- comparing algorithms 算法比较, B
- comparison 比较
- string 字符串, 8.10
- tuple 元组, 12.7, 18.3
- comparison sort 比较排序, B.2
- compile 编译, 1.1, 1.7
- composition 组合, 3.4, 3.8, 3.15, 6.3, 18.4
- compound statement 复合语句, 5.4, 5.13
- concatenation 拼接, 2.8, 2.11, 3.9, 8.3, 8.5, 10.9
- list 列表, 10.4, 10.12, 10.15
- condition 条件, 5.4, 5.13, 7.3, A.2.2
- conditional 条件, A.1
- chained 链式, 5.6, 5.13
- nested 嵌套, 5.7, 5.13
- conditional execution 条件执行, 5.4
- conditional statement 条件语句, 5.4, 5.13, 6.4
- config method config 方法, 19.3
- consistency check 一致性检查, 11.8, 16.4
- constant time 常数时间, B.4
- constructor 构造函数, C.4
- contributors 贡献者, 0
- conversion 转换
- type 类型, 3.2
- coordinate 坐标
- Canvas Canvas 控件, 19.3, 19.8
- pixel 像素, 19.8
- coordinate sequence 坐标序列, 19.4
- copy 复制, C.3
- deep 深拷贝, 15.6
- shallow 浅拷贝, 15.6
- slice 切片, 8.4, 10.5
- to avoid aliasing 避免别名, 10.13
- copy module copy 模块, 15.6
- copying objects 对象复制, 15.6
- count method count 方法, 8.8
- counter 计数器, 8.7, 8.12, 11.1, 11.6
- counting and looping 计数与循环, 8.7
- crossover point 交叉点, B.1
- crosswords 填字游戏, 9.1
- cummings, e. e. 卡明斯, 1.3.1
- cumulative sum 累积和, 10.7
- Deck class Deck 类, 18.4, C.5
- Dijkstra, Edsger 戴克斯特拉, 9.5
- Double Day 双日(出版社), 16.7
- Doyle, Arthur Conan 柯南·道尔, 1.3.4
- DSU pattern DSU 模式, 12.7, 12.10, 13.4
- data encapsulation 数据封装, 18.10
- data structure 数据结构, 12.9, 12.10, 13.9
- database 数据库, 14.6, 14.11
- datetime module datetime 模块, 16.7
- dead code 死代码, 6.1, 6.10, A.2.4
- debugger (pdb) 调试器(pdb), A.2.3
- debugging 调试, 1.3, 1.3, 1.6, 1.7, 2.10, 3.14, 4.10, 5.12, 6.9, 8.11, 9.5, 10.13, 11.8, 12.9, 13.10, 14.10, 15.7, 16.5, 17.10, 18.9, 19.9, A
- by bisection 二分法, 7.7
- emotional response 情绪反应, 1.6, A.3.4
- experimental 实验性, 1.3.4
- superstition 迷信, A.3.4
- deck, playing cards 扑克牌组, 18.4
- declaration 声明, 11.6, 11.9
- decorate-sort-undecorate pattern 装饰-排序-去装饰模式, 12.7
- decrement 递减, 7.2, 7.8
- deep copy 深拷贝, 15.6, 15.8
- deepcopy function deepcopy 函数, 15.6
- def keyword def 关键字, 3.5
- default value 默认值, 13.5, 13.11, 17.5
- avoiding mutable 避免可变默认值, 17.13
- definition 定义
- circular 循环定义, 6.5
- class 类, 15.1
- function 函数, 3.5
- recursive 递归, 12.11
- del operator del 运算符, 10.8
- deletion, element of list 列表元素删除, 10.8
- delimiter 分隔符, 10.9, 10.14
- deterministic 确定性, 13.2, 13.11
- development plan 开发方案, 4.11, 18.10
- encapsulation and generalization 封装与泛化, 4.8
- incremental 增量式, 6.2, A.1
- planned 计划式, 16.4
- problem recognition 问题识别, 9.3, 9.4
- prototype and patch 原型与补丁, 16.2, 16.4
- random walk programming 随机游走编程, 13.10, A.3.4
- diagram 图
- call graph 调用图, 11.9
- class 类, 18.8, 18.11, C, C.5, C.5
- object 对象, 15.2, 15.3, 15.6, 15.8, 16.1, 18.2, C, C.3
- stack 栈图, 3.10, 10.12, C, C.2
- state 状态图, 2.2, 7.1, 8.11, 10.2, 10.10, 10.11, 11.4, 12.6, 15.2, 15.3, 15.6, 16.1, 18.2, C, C.1
- __dict__ attribute __dict__ 属性, 17.10
- dict function dict 函数, 11
- dictionary 字典, 11, 11, 11.9, 12.6, A.2.3, C.3
- initialize 初始化, 12.6
- invert 反转, 11.4
- lookup 查找, 11.3
- looping with 用字典遍历, 11.2
- reverse lookup 反向查找, 11.3
- subtraction 减法, 13.6
- traversal 遍历, 12.6, 17.10
- dictionary methods 字典方法, B.2
- anydbm module anydbm 模块, 14.6
- diff 差异比较, 14.8
- directory 目录, 14.4, 14.11
- walk 遍历, 14.4
- working 工作目录, 14.4
- dispatch 分派
- type-based 基于类型, 17.9
- dispatch, type-based 基于类型的分派, 17.8
- divisibility 整除性, 5.1
- division 除法
- floating-point 浮点, 2.4
- floor 向下取整, 2.4, 5.12
- divmod divmod 函数, 12.3, 16.4
- docstring 文档字符串, 4.9, 4.11, 15.1
- documentation 文档, 1.8
- dot notation 点表示法, 3.3, 3.13, 3.15, 8.8, 15.2, 17.2, 18.2
- double letters 双字母, 9.7
- drag-and-drop 拖放, 19.8
- duplicate 重复, 10.15, 10.15, 11.10, 14.8
- Einstein, Albert 爱因斯坦, 4.6
- Elkner, Jeff 埃尔克纳, 0, 0
- Entry widget Entry 控件, 19.5
- Event object Event 对象, 19.8
- element 元素, 10.1, 10.14
- element deletion 元素删除, 10.8
- elif keyword elif 关键字, 5.6
- ellipses 省略号, 3.5
- else keyword else 关键字, 5.5
- email address 电子邮件地址, 12.2
- embedded object 内嵌对象, 15.3, 15.8, 17.13
- copying 复制, 15.6
- emotional debugging 情绪化调试, 1.6, A.3.4
- empty list 空列表, 10.1
- empty string 空字符串, 8.12, 10.9
- encapsulation 封装, 4.4, 4.11, 6.3, 7.5, 8.7, 18.7
- data 数据, 18.10
- encode 编码, 18.1, 18.11
- encrypt 加密, 18.1
- encryption 加密, 11.7
- end of line character 行结束符, 14.10
- enumerate function enumerate 函数, 12.5
- epsilon ε, 7.5
- equality and assignment 相等与赋值, 7.1
- equivalence 等价, 10.10
- equivalent 等价, 10.14
- error 错误
- compile-time 编译时错误, A
- runtime 运行时错误, 1.3.2, 2.10, 5.10, 5.12, A
- semantic 语义错误, 1.3.3, 2.1, 2.10, 8.11, A, A.3
- shape 形状错误, 12.9
- syntax 语法错误, 1.3.1, 2.10, A
- error checking 错误检查, 6.8
- error message 错误消息, 1.3.1, 1.3.3, 1.6, 2.1, 2.10, A.1
- eval function eval 函数, 7.9
- evaluate 求值, 2.5
- event 事件, 19.10
- event handler 事件处理程序, 19.8
- event loop 事件循环, 19.1, 19.10
- event string 事件字符串, 19.8
- event-driven programming 事件驱动编程, 19.2, 19.9, 19.10
- exception 异常, 1.3.2, 1.7, 2.10, A, A.2.3
- AttributeError AttributeError 异常, 15.7, A.2.3
- IndexError IndexError 异常, 8.2, 8.11, 10.2, A.2.3
- IOError IOError 异常, 14.5
- KeyError KeyError 异常, 11, A.2.3
- NameError NameError 异常, 3.9, A.2.3
- OverflowError OverflowError 异常, 5.12
- RuntimeError RuntimeError 异常, 5.10
- SyntaxError SyntaxError 异常, 3.4
- TypeError TypeError 异常, 8.1, 8.5, 11.4, 12.1, 12.4, 14.3, 17.3, A.2.3
- UnboundLocalError UnboundLocalError 异常, 11.6
- ValueError ValueError 异常, 5.11, 11.3, 12.2
- exception, catching 捕获异常, 14.5
- executable 可执行文件, 1.1, 1.7
- exercise, secret 秘密习题, 14.12
- exists function exists 函数, 14.4
- experimental debugging 实验式调试, 1.3.4, 13.10
- exponent 指数, B.1
- exponential growth 指数增长, B.1
- expression 表达式, 2.4, 2.5, 2.11
- big and hairy 庞大复杂, A.3.2
- boolean 布尔, 5.2, 5.13
- extend method extend 方法, 10.6
- False special value False 特殊值, 5.2
- Fermat’s Last Theorem 费马最后定理, 5.14
- Frame widget Frame 控件, 19.6
- Free Documentation License, GNU GNU 自由文档许可证, 0, 0
- factorial function factorial 函数, 6.5, 6.8
- fibonacci function fibonacci 函数, 6.7, 11.5
- file 文件, 14.1
- permission 权限, 14.5
- reading and writing 读写, 14.2
- file object 文件对象, 9.1, 9.6
- filename 文件名, 14.4
- filter pattern 过滤模式, 10.7, 10.14
- find function find 函数, 8.6
- flag 标志, 11.6, 11.9
- float function float 函数, 3.2
- float type float 类型, 2.1
- floating-point 浮点, 2.11, 7.5
- floating-point division 浮点除法, 2.4
- floor division 向下取整除法, 2.4, 2.11, 5.12
- flow of execution 执行流程, 3.7, 3.15, 6.7, 6.9, 7.3, 18.9, 19.9, A.2.2
- flower 花朵, 4.12
- folder 文件夹, 14.4
- for loop for 循环, 4.2, 8.3, 10.3, 12.5
- formal language 形式语言, 1.4, 1.7
- format operator 格式化运算符, 14.3, 14.11, A.2.3
- format sequence 格式化序列, 14.3, 14.11
- format string 格式化字符串, 14.3, 14.11
- frame 栈帧, 3.10, 3.15, 5.9, 6.5, 11.5, C.2
- frequency 频率, 11.1
- letter 字母, 12.11
- word 单词, 13.1, 13.12
- fruitful function 有返回值函数, 3.11, 3.15
- frustration 挫败感, A.3.4
- function 函数, 1.5, 3.5, 3.15, 17.1
- abs abs(函数), 6.1
- ack ack(函数), 6.11, 11.5
- arc arc(函数), 4.3
- choice choice(函数), 13.2
- circle circle(函数), 4.3
- cmp cmp(函数), 18.3
- compare compare(函数), 6.1
- deepcopy deepcopy(函数), 15.6
- dict dict(函数), 11
- enumerate enumerate(函数), 12.5
- eval eval(函数), 7.9
- exists exists(函数), 14.4
- factorial factorial(函数), 6.5
- fibonacci fibonacci(函数), 6.7, 11.5
- find find(函数), 8.6
- float float(函数), 3.2
- getattr getattr(函数), 17.10
- getcwd getcwd(函数), 14.4
- hasattr hasattr(函数), 15.7, 17.10
- int int(函数), 3.2
- isinstance isinstance(函数), 6.8, 17.8
- len len(函数), 3.16, 8.2, 11
- list list(函数), 10.9
- log log(函数), 3.3
- max max(函数), 12.3, 12.4
- min min(函数), 12.3, 12.4
- open open(函数), 9.1, 9.1, 14.2, 14.5, 14.6
- polygon polygon(函数), 4.3
- popen popen(函数), 14.8
- randint randint(函数), 10.15, 13.2
- random random(函数), 12.7, 13.2
- raw_input raw_input(函数), 5.11
- recursive recursive(函数), 5.8
- reload reload(函数), 14.9, A.1.1
- repr repr(函数), 14.10
- reversed reversed(函数), 12.8
- shuffle shuffle(函数), 18.6
- sorted sorted(函数), 12.8
- sqrt sqrt(函数), 3.3, 6.2
- str str(函数), 3.2
- sum sum(函数), 12.4
- tuple tuple(函数), 12.1
- type type(函数), 15.7
- zip zip(函数), 12.5
- function argument 函数实参, 3.8
- function call 函数调用, 3.1, 3.15
- function composition 函数组合, 6.3
- function definition 函数定义, 3.5, 3.6, 3.15, 3.15
- function frame 函数栈帧, 3.10, 3.15, 5.9, 6.5, 11.5, C.2
- function object 函数对象, 3.5, 3.16, C.4
- function parameter 函数形参, 3.8
- function syntax 函数语法, 17.2
- function type 函数类型
- modifier 修改器, 16.3
- pure 纯函数, 16.2
- function, fruitful 有返回值函数, 3.11
- function, math 数学函数, 3.3
- function, reasons for 使用函数的理由, 3.12
- function, trigonometric 三角函数, 3.3
- function, tuple as return value 以元组为返回值的函数, 12.3
- function, void 无返回值函数, 3.11
- functional programming style 函数式编程风格, 16.3, 16.6
- GCD (greatest common divisor) 最大公约数(GCD), 6.11
- GNU Free Documentation License GNU 自由文档许可证, 0, 0
- GUI GUI(图形用户界面), 19.1, 19.10
- Gui module Gui 模块, 19.1
- gamma function 伽玛函数, 6.8
- gather 打包, 12.4, 12.10
- generalization 推广, 4.5, 4.11, 9.3, 16.4
- geometric resizing 几何缩放, B.4
- geometry manager 几何管理器, 19.6, 19.10
- get method get 方法, 11.1
- getattr function getattr(函数), 17.10
- getcwd function getcwd(函数), 14.4
- global statement global 语句, 11.6
- global variable 全局变量, 11.6, 11.9, C.1
- update 更新, 11.6
- graphical user interface 图形用户界面, 19.1
- greatest common divisor (GCD) 最大公约数(GCD), 6.11
- grid grid(网格), 3.16
- guardian pattern 监护人模式, 6.8, 6.10, 8.11
- HAS-A relationship HAS-A 关系, 18.8, 18.11, C.5
- Hand class Hand 类, 18.7, C.5
- HashMap HashMap(哈希映射), B.4
- Hello, World Hello, World(入门程序), 1.5
- Holmes, Sherlock 福尔摩斯,夏洛克(人名), 1.3.4
- HTMLParser module HTMLParser 模块, 19.11
- hanging 挂起, A.2.2
- hasattr function hasattr(函数), 15.7, 17.10
- hash function 散列函数, 11.4, 11.9, B.4
- hashable 可散列, 11.4, 11.9, 12.6
- hashtable 散列表, 11, 11.9, B.4
- header 文件头, 3.5, 3.15, A.1
- help utility help 工具, 1.8
- hexadecimal 十六进制, 15.1
- high-level language 高级语言, 1.1, 1.7
- histogram 直方图, 11.1, 11.1, 11.9
- random choice 随机选择, 13.2, 13.7
- word frequencies 词频, 13.3
- homophone 同音词, 11.10
- hyperlink 超链接, 19.11
- hypotenuse 斜边, 6.2
- Image module Image 模块, 19.11
- IndexError IndexError(索引错误), 8.2, 8.11, 10.2, A.2.3
- IOError IOError(输入输出错误), 14.5
- IS-A relationship IS-A 关系, 18.8, 18.11, C.5
- identical 相同, 10.14
- identity 同一性, 10.10
- if statement if 语句, 5.4
- image viewer 图像查看器, 19.11
- immutability 不可变性, 8.5, 8.5, 8.12, 10.11, 11.4, 12.1, 12.8
- implementation 实现, 11.1, 11.9, 13.9, 17.11
- import statement import 语句, 3.15, 4.1, 14.9
inoperator in 运算符, B.3- in operator in 运算符, 8.9, 10.2, 11
- increment 递增, 7.2, 7.8, 16.3, 17.3
- incremental development 增量开发, 6.10, A.1
- indentation 缩进, 3.5, 17.2, A.1
- index 索引, 8.1, 8.1, 8.11, 8.12, 10.2, 10.14, 11, A.2.3
- looping with 用索引循环, 9.4, 10.3
- negative 负索引, 8.2
- slice 切片索引, 8.4, 10.5
- starting at zero 从零开始, 8.1, 10.2
- indexing 索引(操作), B.2
- infinite loop 无限循环, 7.3, 7.8, 19.1, A.2.2, A.2.2
- infinite recursion 无限递归, 5.10, 5.13, 6.8, A.2.2, A.2.2
- information hiding 信息隐藏, 17.11, 17.12
- inheritance 继承, 18.7, 18.11
- init method __init__ 方法, 17.5, 17.10, 18.1, 18.4, 18.7
- initialization 初始化
- variable 变量, 7.8
- initialization (before update) 更新前初始化, 7.2
- instance 实例, 4.1, 4.11, 15.1, 15.8
- as argument 作为实参, 15.2
- as return value 作为返回值, 15.4
- instance attribute 实例属性, 15.2, 15.8, 18.2, 18.11
- instantiate 实例化, C.4
- instantiation 实例化, 15.1
- int function int(函数), 3.2
- int type int 类型, 2.1
- integer 整数, 2.11
- long 长整数, 11.7
- interactive mode 交互模式, 1.1, 1.7, 2.6, 3.11
- interface 接口, 4.6, 4.10, 4.11, 17.11, 18.9
- interlocking words 交错词, 10.15
- interpret 解释, 1.1, 1.7
- invariant 不变量, 16.5, 16.6, 19.9
- invert dictionary 反转字典, 11.4
- invocation 调用, 8.8, 8.12
- is operator is 运算符, 10.10, 15.6
- isinstance function isinstance(函数), 6.8, 17.8
- item 条目, 8.12, 10.1
- Canvas Canvas 项, 19.3, 19.10
- dictionary 字典条目, 11.9
- item assignment 项赋值, 8.5, 10.2, 12.1
- item update 项更新, 10.3
- items method items 方法, 12.6
- iteration 迭代, 7.3, 7.8
in00 join(字符串方法), B.2- join method join 方法, 10.9, 18.5
- Kangaroo class Kangaroo 类, 17.13
- KeyError KeyError(键错误), 11, A.2.3
bisect00 KeyError(键错误), B.4- Koch curve 科赫曲线, 5.14
- key 键, 11, 11.9
- key-value pair 键值对, 11, 11.9, 12.6
- keyboard input 键盘输入, 5.11
- keys method keys 方法, 11.2
- keyword 关键字, 2.3, 2.3, 2.11, A.1
- def def(关键字), 3.5
- elif elif(关键字), 5.6
- else else(关键字), 5.5
- keyword argument 关键字实参, 4.5, 4.11, 12.7, 19.2, 19.10
- Label widget Label 控件, 19.2
bisect009 LinearMap(线性映射), B.4- Linux Linux(操作系统), 1.3.4
- Lumpy Lumpy(UML 绘图工具), C, C
- language 语言
- formal 形式化, 1.4
- high-level 高级, 1.1
- low-level 低级, 1.1
- natural 自然语言, 1.4
- programming 编程, 1.1
- safe 安全, 1.3.2
- Turing complete 图灵完备, 6.5
- leading coefficient 首项系数, B.1
- leading term 首项, B.1
- leap of faith 信仰之跃, 6.6
- len function len 函数, 3.16, 8.2, 11
- letter frequency 字母频率, 12.11
- letter rotation 字母旋转, 8.13, 11.10
- linear growth 线性增长, B.1
- linear search 线性搜索, B.3
- lipogram 避字文, 9.2
- list 列表, 10.1, 10.9, 10.14, 12.8
- as argument 作为实参, 10.12
- comprehension 推导式, 10.7
- concatenation 拼接, 10.4, 10.12, 10.15
- copy 拷贝, 10.5
- element 元素, 10.2
- empty 空, 10.1
- function 函数, 10.9
- index 索引, 10.2
- membership 成员关系, 10.2
- method 方法, 10.6
- nested 嵌套, 10.1, 10.3
- of objects 对象列表, 18.4
- of tuples 元组列表, 12.5
- operation 运算, 10.4
- repetition 重复, 10.4
- slice 切片, 10.5
- traversal 遍历, 10.3, 10.14
- list index 列表索引, C.3
- list methods 列表方法, B.2
- literalness 字面性, 1.4
- local variable 局部变量, 3.9, 3.15
- log function log 函数, 3.3
- logarithm 对数, 13.12
- logarithmic growth 对数增长, B.1
- logical operator 逻辑运算符, 5.2, 5.3
- long integer 长整数, 11.7
- lookup 查找, 11.9
- lookup, dictionary 字典查找, 11.3
- loop 循环, 4.2, 4.11, 7.3, 12.5
- condition 条件, A.2.2
- event 事件, 19.1
- for for 循环, 4.2, 8.3, 10.3
- infinite 无限, 7.3, 19.1, A.2.2
- nested 嵌套, 18.4
- traversal 遍历, 8.3
- while while 循环, 7.3
- looping 循环
- with dictionaries 用字典, 11.2
- with indices 用索引, 9.4, 10.3
- with strings 用字符串, 8.7
- looping and counting 循环与计数, 8.7
- low-level language 低级语言, 1.1, 1.7
- ls (Unix command) ls 命令, 14.8
- Markov analysis 马尔可夫分析, 13.8
- Matplotlib Matplotlib 库, 13.12
- McCloskey, Robert 麦克洛斯基,罗伯特, 8.3
- MD5 algorithm MD5 算法, 14.8
- Menubutton widget Menubutton 控件, 19.7
- Meyers, Chris 迈尔斯,克里斯, 0
- Moby Project Moby 项目, 9.1
- Monty Python and the Holy Grail 《蒙提·派森与圣杯》, 16.2
- MP3 MP3(音频), 14.8
- machine model 机器模型, B
- maintainable 可维护, 17.11
- map pattern 映射模式, 10.7, 10.14
- map to 映射到, 18.1
- mapping 映射, 10.2, 10.14, 13.8
- mash-up 混搭, 13.8
- math function math 函数, 3.3
- max function max 函数, 12.3, 12.4
- md5 md5 哈希, 14.8
- md5sum md5sum 命令, 14.8
- membership 成员关系
- binary search 二分搜索, 10.15
- bisection search 二分搜索, 10.15
- dictionary 字典, 11
- list 列表, 10.2
- set 集合, 11
- memo 记忆化, 11.5, 11.9
- mental model 心智模型, A.3.1
- metaphor, method invocation 方法调用的隐喻, 17.2
- metathesis 换位, 12.11
- method 方法, 8.8, 8.12, 17.1, 17.12
- __cmp__ __cmp__ 方法, 18.3
- __str__ __str__ 方法, 17.6, 18.5
- add add 方法, 17.7
- append append 方法, 10.6, 10.12, 18.4, 18.6
- close close 方法, 14.2, 14.6, 14.8
- config config 方法, 19.3
- count count 方法, 8.8
- extend extend 方法, 10.6
- get get 方法, 11.1
- init init 方法, 17.5, 18.1, 18.4, 18.7
- items items 方法, 12.6
- join join 方法, 10.9, 18.5
- keys keys 方法, 11.2
- mro mro 方法, 18.9
- pop pop 方法, 10.8, 18.6
- radd radd 方法, 17.8
- read read 方法, 14.8
- readline readline 方法, 9.1, 14.8
- remove remove 方法, 10.8
- replace replace 方法, 13.1
- setdefault setdefault 方法, 11.4
- sort sort 方法, 10.6, 10.13, 12.7, 18.6
- split split 方法, 10.9, 12.2
- string string 方法, 8.8
- strip strip 方法, 9.1, 13.1
- translate translate 方法, 13.1
- update update 方法, 12.6
- values values 方法, 11
- void void 方法, 10.6
- method append append 方法, 10.15
- method resolution order 方法解析顺序, 18.9
- method syntax 方法语法, 17.2
- method, bound 绑定方法, 19.6
- method, list 列表方法, 10.6
- min function min 函数, 12.3, 12.4
- model, mental 心智模型, A.3.1
- modifier 修改器, 16.3, 16.6
- module 模块, 3.3, 3.15, 3.15
- anydbm anydbm 模块, 14.6
- bisect bisect 模块, 10.15, B.3
- copy copy 模块, 15.6
- datetime datetime 模块, 16.7
- Gui Gui 模块, 19.1
- HTMLParser HTMLParser 模块, 19.11
- Image Image 模块, 19.11
- os os 模块, 14.4
- pickle pickle 模块, 14.1, 14.7
- pprint pprint 模块, 11.8
- profile profile 模块, 13.9
- random random 模块, 10.15, 12.7, 13.2, 18.6
- reload reload 函数, 14.9, A.1.1
- shelve shelve 模块, 14.7
- string string 模块, 13.1
- structshape structshape 模块, 12.9
- time time 模块, 10.15
- urllib urllib 模块, 14.12, 19.11
- Visual Visual 模块, 17.13
- vpython vpython 模块, 17.13
- World World 模块, 15.9
- module object 模块对象, 3.3, 14.9
- module, writing 编写模块, 14.9
- module-level variable 模块级变量, C.1
- modulus operator 求模运算符, 5.1, 5.13
- mro method mro 方法, 18.9
- multiline string 多行字符串, 4.9, A.1
- multiple assignment 多重赋值, 7.1, 7.8, 11.6
- multiplicity (in class diagram) 重数(类图), 18.8, 18.11
- mutability 可变性, 8.5, 10.2, 10.5, 10.11, 11.6, 12.1, 12.8, 15.5
- mutable object, as default value 作为默认值的可变对象, 17.13
- NameError NameError 异常, 3.9, A.2.3
- Newton’s method 牛顿法, 7.5
- None special value None 特殊值, 3.11, 6.1, 6.10, 10.6, 10.8
- natural language 自然语言, 1.4, 1.7
- negative index 负索引, 8.2
- nested conditional 嵌套条件, 5.7, 5.13
- nested list 嵌套列表, 10.1, 10.3, 10.14
- newline 换行符, 5.11, 7.1, 18.5
- not operator not 运算符, 5.3
- number, random 随机数, 13.2
- Obama, Barack 奥巴马,巴拉克, B
- Olin College 奥林学院, 0
- OverflowError OverflowError 异常, 5.12
- object 对象, 8.5, 8.12, 10.10, 10.10, 10.14, 15.1
- Callable Callable 对象, 19.7
- Canvas Canvas 对象, 15.9
- class 类, 15.1, 15.8, C.4
- copying 拷贝, 15.6
- Event Event 对象, 19.8
- embedded 内嵌, 15.3, 15.8, 17.13
- file 文件, 9.1, 9.6
- function 函数, 3.5, 3.16, C.4
- module 模块, 14.9
- mutable 可变, 15.5
- printing 打印, 17.2
- object code 目标代码, 1.1, 1.7
- object diagram 对象图, 15.2, 15.3, 15.6, 15.8, 16.1, 18.2, C, C.3
- object-oriented design 面向对象设计, 17.11
- object-oriented language 面向对象语言, 17.12
- object-oriented programming 面向对象编程, 17.1, 17.12, 18.7
- odometer 里程表, 9.7
- open function open 函数, 9.1, 9.1, 14.2, 14.5, 14.6
- operand 操作数, 2.4, 2.11
- operator 运算符, 2.11
- and and 运算符, 5.3
- bitwise 按位, 2.4
- boolean 布尔, 8.9
- bracket 下标, 8.1, 10.2, 12.1
- del del 语句, 10.8
- format 格式化, 14.3, 14.11, A.2.3
- in in 运算符, 8.9, 10.2, 11
- is is 运算符, 10.10, 15.6
- logical 逻辑, 5.2, 5.3
- modulus 求模, 5.1, 5.13
- not not 运算符, 5.3
- or or 运算符, 5.3
- overloading 重载, 17.12
- relational 关系, 5.2, 18.3
- slice 切片, 8.4, 8.13, 10.5, 10.12, 12.1
- string 字符串, 2.8
- update 更新, 10.7
- operator overloading 运算符重载, 17.7, 18.3
- operator, arithmetic 算术运算符, 2.4
- option 选项, 19.2, 19.10
- optional argument 可选实参, 8.8, 10.9, 11.3
- optional parameter 可选形参, 13.5, 17.5
- or operator or 运算符, 5.3
- order of growth 增长量级, B.1
- order of operations 运算顺序, 2.7, 2.10, A.3.2
- os module os 模块, 14.4
- other (parameter name) other(形参名), 17.4
- overloading 重载, 17.12
- override 重写, 13.5, 13.11, 17.5, 18.3, 18.7, 18.9
- PEMDAS PEMDAS(运算顺序), 2.7
- PIL (Python Imaging Library) PIL(图像处理库), 19.11
- Point class Point 类, 15.1, 17.5, C.3
- Project Gutenberg 古腾堡项目, 13.1
- Puzzler 谜题, 9.7, 9.7, 9.7, 11.10, 12.11
- Pythagorean theorem 勾股定理, 6.2
- Python 3 Python 3, 1.5, 2.4, 5.11, 11.7, 12.5
- Python debugger (pdb) Python 调试器(pdb), A.2.3
- Python Imaging Library (PIL) Python 图像处理库(PIL), 19.11
- package 包, 4.1
- packing widgets 打包控件, 19.6, 19.10
- palindrome 回文, 6.11, 8.13, 9.4, 9.7, 9.7
- parameter 形参, 3.8, 3.9, 3.15, 10.12
- gather 打包, 12.4
- optional 可选, 13.5, 17.5
- other 其他, 17.4
- self self(形参), 17.2
- parent class 父类, 18.7, 18.7, 18.11
- parentheses 括号
- argument in 实参(括号中), 3.1
- empty 空, 3.5, 8.8
- matching 匹配, 1.3.1
- overriding precedence 覆盖优先级, 2.7
- parameters in 形参(括号中), 3.8, 3.9
- parent class in 父类(括号中), 18.7
- tuples in 元组(括号中), 12.1
- parse 解析, 1.4, 1.7
- pass statement pass 语句, 5.4
- path 路径, 14.4, 14.11
- absolute 绝对路径, 14.4
- relative 相对路径, 14.4
- pattern 模式
- DSU 装饰-排序-去装饰, 12.7, 13.4
- decorate-sort-undecorate 装饰-排序-去装饰, 12.7
- filter 过滤, 10.7, 10.14
- guardian 守护, 6.8, 6.10, 8.11
- map 映射, 10.7, 10.14
- reduce 归约, 10.7, 10.14
- search 搜索, 8.6, 8.12, 9.3, 11.3
- swap 交换, 12.2
- pdb (Python debugger) 调试器, A.2.3
- permission, file 文件权限, 14.5
- persistence 持久化, 14.1, 14.11
- pi 圆周率, 3.3, 7.9
- pickle module pickle 模块, 14.1, 14.7
- pickling 序列化(pickle), 14.7
- pie 扇形, 4.12
- pipe 管道, 14.8
- pixel coordinate 像素坐标, 19.8
- plain text 纯文本, 9.1, 13.1, 19.11
- planned development 计划式开发, 16.4, 16.6
- playing card, Anglo-American 英美式扑克牌, 18
- poetry 诗歌, 1.4
- point, mathematical 数学上的点, 15.1
- poker 扑克, 18, 18.12
- polygon function polygon 函数, 4.3
- polymorphism 多态, 17.9, 17.12, 18.9
- pop method pop 方法, 10.8, 18.6
- popen function popen 函数, 14.8
- portability 可移植性, 1.1, 1.7
- postcondition 后置条件, 4.10, 6.9, 18.9
- pprint module pprint 模块, 11.8
- practical analysis of algorithms 实用算法分析, B.1
- precedence 优先级, 2.11, A.3.2
- precondition 前置条件, 4.10, 4.11, 4.11, 6.9, 10.15, 18.9
- prefix 前缀, 13.8
- pretty print 美观打印, 11.8
- print function print 函数, 1.5
- print statement print 语句, 1.5, 1.7, 17.6, A.2.4
- problem recognition 问题识别, 9.3, 9.4, 9.6
- problem solving 问题求解, 1, 1.7
- profile module profile 模块, 13.9
- program 程序, 1.2, 1.7
- program testing 程序测试, 9.5
- programming language 编程语言, 1.1
- prompt 提示符, 1.1, 1.7, 5.11
- prose 散文, 1.4
- prototype and patch 原型修补法, 16.2, 16.4, 16.6
- pseudorandom 伪随机, 13.2, 13.11
- pure function 纯函数, 16.2, 16.6
- python.org 官网, 1.8
- quadratic growth 二次增长, B.1
- quotation mark 引号, 1.5, 2.1, 2.1, 4.9, 8.4, A.1
- Ramanujan, Srinivasa 拉马努金, 7.9
- Rectangle class Rectangle 类, 15.3, C.3
- RSA algorithm RSA 算法, 11.7
- RuntimeError 运行时异常, 5.10, 6.8
- radd method radd 方法, 17.8
- radian 弧度, 3.3
- radix sort 基数排序, B
- rage 暴怒, A.3.4
- raise statement raise 语句, 11.3, 16.5
- randint function randint 函数, 10.15, 13.2
- random function random 函数, 12.7, 13.2
- random module random 模块, 10.15, 12.7, 13.2, 18.6
- random number 随机数, 13.2
- random text 随机文本, 13.8
- random walk programming 随机游走编程, 13.10, A.3.4
- rank 点数, 18.1
- raw_input function raw_input 函数, 5.11
- read method read 方法, 14.8
- readline method readline 方法, 9.1, 14.8
- recursion 递归, 5.8, 5.8, 5.13, 6.5, 6.6, C.2
- base case 基础情形, 5.9
- infinite 无限递归, 5.10, 6.8, A.2.2
- recursive definition 递归定义, 6.5, 12.11
- red-black tree 红黑树, B.4
- reduce pattern 归约模式, 10.7, 10.14
- reducible word 可归约词, 11.10, 12.11
- redundancy 冗余, 1.4
- refactoring 重构, 4.7, 4.7, 4.11, 18.10
- reference 引用, 10.11, 10.12, 10.14
- aliasing 别名, 10.11
- rehashing 再哈希, B.4
- relational operator 关系运算符, 5.2, 18.3
- relative path 相对路径, 14.4, 14.11
- reload function reload 函数, 14.9, A.1.1
- remove method remove 方法, 10.8
- repetition 重复, 4.2
- list 列表, 10.4
- replace method replace 方法, 13.1
- repr function repr 函数, 14.10
- representation 表示, 15.1, 15.3, 18.1
- return statement return 语句, 5.8, 6.1, A.3.3
- return value 返回值, 3.1, 3.15, 6.1, 15.4
- tuple 元组, 12.3
- reverse lookup, dictionary 字典反向查找, 11.3, 11.9
- reverse word pair 逆序词对, 10.15
- reversed function reversed 函数, 12.8
- rotation 旋转
- letters 字母, 11.10
- rotation, letter 字母旋转, 8.13
- rules of precedence 优先级规则, 2.7, 2.11
- running pace 跑步配速, 1.8, 2.12, 16.7
- runtime error 运行时错误, 1.3.2, 2.10, 5.10, 5.12, A, A.2.3
- Schmidt, Eric 埃里克·施密特, B
- Scrabble 拼字游戏, 12.11
- SimpleTurtleWorld class SimpleTurtleWorld 类, 19.6
- SVG SVG 格式, 19.11
- Swampy 图形工具库, 4.1, 15.9, 18.12, 19.1, C
- SyntaxError 语法错误, 3.4
- safe language 安全语言, 1.3.2
- sanity check 合理性检查, 11.8
- scaffolding 脚手架, 6.2, 6.10, 11.8
- scatter 拆包, 12.4, 12.10
- script 脚本, 1.1, 1.7
- script mode 脚本模式, 1.1, 1.7, 2.6, 3.11
- search 搜索, 11.3, B.3
- search pattern 搜索模式, 8.6, 8.12, 9.3
- search, binary 二分搜索, 10.15
- search, bisection 对分搜索, 10.15
- secret exercise 隐藏练习, 14.12
- self (parameter name) 参数名, 17.2
- semantic error 语义错误, 1.3.3, 1.7, 2.1, 2.10, 8.11, A, A.3
- semantics 语义, 1.3.3, 1.7, 17.1
- sequence 序列, 8.1, 8.12, 10.1, 10.9, 12.1, 12.8
- coordinate 坐标, 19.4
- set 集合, 13.6
- anagram 变位词, 12.11, 14.7
- set membership 集合成员关系, 11
- setdefault method setdefault 方法, 11.4
- sexagesimal 六十进制, 16.4
- shallow copy 浅拷贝, 15.6, 15.8, C.3
- shape 形状, 12.10
- shape error 形状错误, 12.9
- shell 命令行外壳, 14.8
- shelve module shelve 模块, 14.7
- shuffle function shuffle 函数, 18.6
- sine function 正弦函数, 3.3
- singleton, 11.4, 11.9, 12.1 单例
- slice, 8.12 切片
- copy, 8.4, 10.5 复制
- list, 10.5 列表
- string, 8.4 字符串
- tuple, 12.1 元组
- update, 10.5 更新
- slice operator, 8.4, 8.13, 10.5, 10.12, 12.1 切片运算符
- sort method, 10.6, 10.13, 12.7, 18.6 排序方法
- sorted function, 12.8 排序函数
- sorting, B.2, B.2 排序
- source code, 1.1, 1.7 源代码
- special case, 9.5, 9.6, 16.3 特殊情况
- special value 特殊值
- False, 5.2 False(假)
- None, 3.11, 6.1, 6.10, 10.6, 10.8 None(空)
- True, 5.2 True(真)
- spiral, 4.12 螺旋
- split method, 10.9, 12.2 分割方法
- sqrt, 6.2 平方根
- sqrt function, 3.3 平方根函数
- square root, 7.5 平方根
- squiggly bracket, 11 花括号
- stable sort, B.2 稳定排序
- stack diagram, 3.10, 3.10, 3.15, 4.12, 5.9, 6.5, 6.11, 10.12, C, C.2 栈图
- state diagram, 2.2, 2.11, 7.1, 8.11, 10.2, 10.10, 10.11, 11.4, 12.6, 15.2, 15.3, 15.6, 16.1, 18.2, C, C.1 状态图
- statement, 2.11 语句
- assert, 16.5 assert语句
- assignment, 2.2, 7.1 赋值语句
- break, 7.4 break语句
- compound, 5.4 复合语句
- conditional, 5.4, 5.13, 6.4 条件语句
- for, 4.2, 8.3, 10.3 for语句
- global, 11.6 global语句
- if, 5.4 if语句
- import, 3.15, 4.1, 14.9 import语句
- pass, 5.4 pass语句
- print, 1.5, 1.7, 17.6, A.2.4 print语句
- raise, 11.3, 16.5 raise语句
- return, 5.8, 6.1, A.3.3 return语句
- try, 14.5 try语句
- while, 7.3 while语句
- step size, 8.13 步长
- str function, 3.2 str函数
- __str__ method, 17.6, 18.5 __str__方法
- string, 2.1, 2.11, 10.9, 12.8 字符串
- accumulator, 18.5 累加器
- comparison, 8.10 比较
- empty, 10.9 空字符串
- immutable, 8.5 不可变
- method, 8.8 方法
- multiline, 4.9, A.1 多行
- operation, 2.8 操作
- slice, 8.4 切片
- triple-quoted, 4.9 三引号
- string concatenation, B.2 字符串拼接
- string method, 8.8 字符串方法
- string methods, B.2 字符串方法
- string module, 13.1 字符串模块
- string representation, 14.10, 17.6 字符串表示
- string type, 2.1 字符串类型
- strip method, 9.1, 13.1 strip方法
- structshape module, 12.9 structshape模块
- structure, 1.4 结构
- subclass, 18.7 子类
- subject, 17.2, 17.12, 19.6 主语
- subtraction 减法
- dictionary, 13.6 字典
- with borrowing, 7.6 借位
- subtraction with borrowing, 16.4 借位减法
- suffix, 13.8 后缀
- suit, 18.1 花色
- sum function, 12.4 求和函数
- superclass, 18.7 超类
- superstitious debugging, A.3.4 迷信式调试
- swap pattern, 12.2 交换模式
- syntax, 1.3.1, 1.3.1, 1.7, 17.1, A.1 语法
- syntax error, 1.3.1, 1.7, 2.10, A 语法错误
- Tagger, 18.12 标记器
- Text widget, 19.5 文本控件
- Time class, 16.1 Time类
- Tkinter, 19.1 Tkinter
- True special value, 5.2 True特殊值
- Turing complete language, 6.5 图灵完备语言
- Turing Thesis, 6.5 图灵论题
- Turing, Alan, 6.5 艾伦·图灵
- TurtleWorld, 4.1, 5.14, 18.12 海龟世界
- TypeError, 8.1, 8.5, 11.4, 12.1, 12.4, 14.3, 17.3, A.2.3 类型错误
- temporary variable, 6.1, 6.10, A.3.2 临时变量
- test case, minimal, A.2.4 最小测试用例
- testing 测试
- and absence of bugs, 9.5 与无缺陷
- incremental development, 6.2 增量开发
- interactive mode, 1.1 交互模式
- is hard, 9.5 很困难
- knowing the answer, 6.2 知道答案
- leap of faith, 6.6 信仰之跃
- minimal test case, A.2.4 最小测试用例
- text 文本
- plain, 9.1, 13.1, 19.11 纯文本
- random, 13.8 随机
- text file, 14.11 文本文件
- time module, 10.15 时间模块
- token, 1.4, 1.7 记号
- traceback, 3.10, 3.15, 5.10, 5.12, 11.3, A.2.3 回溯
- translate method, 13.1 翻译方法
- traversal, 8.3, 8.3, 8.6, 8.11, 8.12, 9.3, 9.3, 10.7, 10.14, 11.1, 11.2, 12.5, 12.5, 12.7, 13.3 遍历
- dictionary, 17.10 字典
- list, 10.3 列表
- traverse 遍历
- dictionary, 12.6 字典
- triangle, 5.14 三角形
- trigonometric function, 3.3 三角函数
- triple-quoted string, 4.9 三引号字符串
- try statement, 14.5 try语句
- tuple, 12.1, 12.3, 12.8, 12.10 元组
- as key in dictionary, 12.6, 13.9 作为字典的键
- assignment, 12.2 赋值
- comparison, 12.7, 18.3 比较
- in brackets, 12.6 在括号中
- singleton, 12.1 单例
- slice, 12.1 切片
- tuple assignment, 12.3, 12.5, 12.10 元组赋值
- tuple function, 12.1 元组函数
- tuple methods, B.2 元组方法
- turtle typewriter, 4.12 海龟打字机
- type, 2.1, 2.1, 2.11 类型
- bool, 5.2 bool(布尔)
- dict, 11 dict(字典)
- file, 14.1 文件
- float, 2.1 float(浮点数)
- int, 2.1 int(整数)
- list, 10.1 列表
- long, 11.7 long(长整型)
- set, 13.6 set(集合)
- str, 2.1 str(字符串)
- tuple, 12.1 元组
- user-defined, 15.1, 16.1 用户自定义
- type checking, 6.8 类型检查
- type conversion, 3.2 类型转换
- type function, 15.7 类型函数
- type-based dispatch, 17.8, 17.9, 17.12 基于类型的分派
- typewriter, turtle, 4.12 打字机,海龟
- typographical error, 13.10 印刷错误
- UML, C, C.5 UML
- UnboundLocalError, 11.6 未绑定局部变量错误
- Unified Modeling Language, C 统一建模语言
- Unix command Unix命令
- ls, 14.8 ls(列出文件)
- URL, 14.12, 19.11 URL
- unbounded, B.1 无界的
- underscore character, 2.3 下划线字符
- uniqueness, 10.15 唯一性
- update, 7.2, 7.5, 7.8 更新
- coordinate, 19.8 坐标
- database, 14.6 数据库
- global variable, 11.6 全局变量
- histogram, 13.3 直方图
- item, 10.3 项
- slice, 10.5 切片
- update method, 12.6 更新方法
- update operator, 10.7 更新运算符
- urllib module, 14.12, 19.11 urllib模块
- use before def, 2.10, 3.6 定义前使用
- user-defined type, 15.1, 16.1 用户自定义类型
- ValueError, 5.11, 11.3, 12.2 值错误
- Visual module, 17.13 Visual模块
- value, 2.1, 2.11, 10.10, 10.10, 11.9 值
- default, 13.5 默认值
- tuple, 12.3 元组
- values method, 11 值方法
- variable, 2.2, 2.11 变量
- global, 11.6, C.1 全局变量
- local, 3.9 局部变量
- module-level, C.1 模块级变量
- temporary, 6.1, 6.10, A.3.2 临时变量
- updating, 7.2 更新
- variable-length argument tuple, 12.4 变长参数元组
- vector graphics, 19.11 矢量图形
- veneer, 18.6, 18.11 贴面模式
- void function, 3.11, 3.15 无返回值函数
- void method, 10.6 无返回值方法
- vorpal, 6.5 vorpal
- vpython module, 17.13 vpython模块
- World module, 15.9 World模块
- walk, directory, 14.4 遍历目录
- while loop, 7.3 while循环
- whitespace, 3.14, 5.12, 9.1, 14.10, A.1 空白字符
- widget, 19.1, 19.10 控件
- Button, 19.2 按钮
- Canvas, 19.3 画布
- Entry, 19.5 输入框
- Frame, 19.6 框架
- Label, 19.2 标签
- Menubutton, 19.7 菜单按钮
- Text, 19.5 文本
- widget, packing, 19.6 控件打包
- word count, 14.9 单词计数
- word frequency, 13.1, 13.12 词频
- word, reducible, 11.10, 12.11 可缩减的单词
- working directory, 14.4 工作目录
- worst bug, 17.13 最糟糕的bug
- ever, 19.11 曾经
- worst case, B 最坏情况
- Zipf’s law, 13.12 齐夫定律
- zero, index starting at, 8.1, 10.2 索引从零开始
- zip function, 12.5 zip函数
- use with dict, 12.6 与字典配合使用