Page 244 - Python for Everybody
P. 244
232
singleton, 117, 125
slice, 77
copy, 69, 94
list, 94 string, 69 tuple, 118 update, 94
slice operator, 69, 94, 101, 118 SOA, 162
socket, 154
sort method, 94, 102, 118 sorted function, 125
source code, 16 special value
False, 31
None, 51, 62, 95 True, 31
spider, 154
split method, 97, 121 sqlite3 module, 187 sqrt function, 45 squiggly bracket, 107 statement, 21, 29
assignment, 20 break, 58 compound, 33 conditional, 32, 40 continue, 59
for, 60, 68, 92 if, 32
import, 53 pass, 33
try, 86
while, 57 str function, 44
string, 19, 30, 97, 124 comparison, 71
empty, 98 find, 128 immutable, 70 method, 72 operation, 24 slice, 69
split, 133
startswith, 128 string method, 77
string representation, 88 string type, 19
swap pattern, 120 syntax error, 28
INDEX
temperature conversion, 36 text file, 89
time, 145
time.sleep, 145
traceback, 36, 39, 40 traversal, 68, 77, 109, 111, 119
list, 92 traverse
dictionary, 122 trigonometric function, 45 True special value, 31
try statement, 86
tuple, 117, 124, 125, 207
as key in dictionary, 124 assignment, 120 comparison, 118
in brackets, 124 singleton, 117
slice, 118
tuple assignment, 125 tuple function, 117 type, 19, 30, 178
bool, 31 dict, 107 file, 79 list, 91 tuple, 117
type conversion, 44 TypeError, 67, 70, 75, 118 typographical error, 14
underscore character, 21 Unicode, 189
update, 57
item, 93
slice, 94 urllib
image, 144
use before def, 29, 49
value, 19, 30, 99, 115 ValueError, 26, 121 values method, 108 variable, 20, 30
updating, 57 Visualization
map, 209 networks, 211 page rank, 211
void function, 51, 53 void method, 95