Page 235 - think python 2
P. 235

Index
213
 declaration, 110, 112 decrement, 64, 69
deep copy, 152, 153 deepcopy function, 152 def keyword, 19
default value, 129, 134, 165
avoiding mutable, 170 defaultdict, 188
definition circular, 55
class, 147 function, 19 recursive, 124
del operator, 94
deletion, element of list, 94 delimiter, 95, 100
designed development, 160 deterministic, 126, 134 development plan, 36
data encapsulation, 179, 181 designed, 158
encapsulation and generalization, 35 incremental, 52, 193
prototype and patch, 156, 158 random walk programming, 134, 200 reduction, 85, 87
diagram
call graph, 112
class, 177, 181
object, 148, 150, 152, 153, 155, 173
stack, 23, 97
state, 9, 63, 78, 90, 96, 108, 120, 148, 150,
152, 155, 173 __dict__ attribute, 168
dict function, 103 dictionary, 103, 112, 120, 197
initialize, 120 invert, 107
lookup, 106 looping with, 106 reverse lookup, 106 subtraction, 129 traversal, 120, 168
dictionary methods, 204 dbm module, 141
dictionary subtraction, 186 diff, 146
Dijkstra, Edsger, 87
dir function, 197
directory, 139, 145
walk, 140
working, 139 dispatch
type-based, 167 dispatch, type-based, 166 divisibility, 39
division
floating-point, 39
floor, 39, 46, 47 divmod, 117, 158
docstring, 35, 37, 148
dot notation, 18, 26, 76, 148, 162, 172 Double Day, 160
double letters, 88
Doyle, Arthur Conan, 25
duplicate, 101, 113, 146, 187
element, 89, 100
element deletion, 94
elif keyword, 42
Elkner, Jeff, v, vi
ellipses, 19
else keyword, 41
email address, 117
embedded object, 150, 153, 170
copying, 152
emotional debugging, 6, 200
empty list, 89
empty string, 79, 95
encapsulation, 32, 36, 54, 69, 75, 177 encode, 171, 180
encrypt, 171
end of line character, 144 enumerate function, 119 enumerate object, 119
epsilon, 67
equality and assignment, 63 equivalence, 96, 152
equivalent, 100
error
runtime, 14, 44, 46, 193 semantic, 14, 193, 198 shape, 122
syntax, 13, 193
error checking, 58
error message, 7, 13, 14, 193 eval function, 69
evaluate, 10
exception, 14, 15, 193, 196
AttributeError, 152, 197

































   233   234   235   236   237