Page 240 - think python 2
P. 240
218
Index
Obama, Barack, 201 object, 74, 79, 95, 96, 100
bytes, 141, 145
class, 147, 148, 153, 190 copying, 151
Counter, 187
database, 141 defaultdict, 188 embedded, 150, 153, 170 enumerate, 119
file, 83, 87
function, 27
generator, 185
module, 143
mutable, 151 namedtuple, 190
pipe, 145
printing, 162
set, 186
zip, 123
object diagram, 148, 150, 152, 153, 155, 173 object-oriented design, 169
object-oriented language, 169 object-oriented programming, 147, 161, 169,
176 odometer, 88
Olin College, v
open function, 83, 84, 137, 140, 141 operand, 14
operator, 7
and, 40
arithmetic, 3 bitwise, 3
boolean, 76 bracket, 71, 90, 116 del, 94
format, 138, 145, 197 in, 76, 85, 90, 104
is, 95, 152
logical, 40
modulus, 39, 47
not, 40
or, 40
overloading, 169 relational, 40, 173 slice, 73, 79, 91, 98, 116 string, 12
update, 93
operator overloading, 166, 173 optional argument, 76, 79, 95, 107, 184
optional parameter, 129, 165 or operator, 40
order of growth, 202, 209 order of operations, 12, 14, 199 os module, 139
other (parameter name), 164 OverflowError, 46
overloading, 169
override, 129, 134, 165, 173, 176, 179
palindrome, 61, 80, 86, 88 parameter, 21, 23, 26, 97
gather, 118 optional, 129, 165 other, 164
self, 163
parent class, 176, 180 parentheses
argument in, 17 empty, 19, 76 parameters in, 21, 22 parent class in, 176 tuples in, 115
parse, 5, 7
pass statement, 41 path, 139, 145
absolute, 139
relative, 139 pattern
filter, 93, 100, 184 guardian, 59, 60, 78
map, 93, 100
reduce, 93, 100
search, 75, 79, 85, 107, 186 swap, 116
pdb (Python debugger), 197 PEMDAS, 12
permission, file, 140 persistence, 137, 145
pi, 18, 70
pickle module, 137, 142 pickling, 142
pie, 37
pipe, 142
pipe object, 145
plain text, 83, 125
planned development, 158 poetry, 5
Point class, 148, 165
point, mathematical, 147