Page 241 - Python for Everybody
P. 241

INDEX
229
function, 47, 53 choice, 47
connect, 187 cursor, 187 dict, 107 float, 44
int, 44
len, 68, 108 list, 97
log, 45
open, 80, 86 print, 16 randint, 46 random, 46 repr, 88 reversed, 125 sorted, 125 sqrt, 45
str, 44
tuple, 117
function argument, 49 function call, 43, 53
function definition, 47, 48, 53 function object, 48
function parameter, 49 function, fruitful, 51 function, math, 45 function, reasons for, 52 function, trigonometric, 45 function, void, 51
gather, 125
geocoding, 162
get method, 109
GNU Free Documentation License, 222,
223 Google, 162
map, 209
page rank, 211
greedy, 129, 138, 149 greedy matching, 138
grep, 137, 138
guardian pattern, 38, 40, 76
hardware, 3 architecture, 3
hash function, 115 hash table, 108 hashable, 117, 124, 125 hashtable, 115
header, 47, 53
high-level language, 16 histogram, 109, 115 HTML, 150, 173
identical, 105 identity, 99
idiom, 102, 110, 112 if statement, 32 image
jpg, 144
immutability, 70, 77, 100, 117, 124 implementation, 109, 115
import statement, 53
in operator, 71, 92, 108
increment, 57, 64
indentation, 47
index, 67, 77, 92, 105, 107, 207
looping with, 93 negative, 68
slice, 69, 94
starting at zero, 67, 92
IndexError, 68, 92
infinite loop, 58, 64
inheritance, 183
initialization (before update), 57 instance, 177
int function, 44
int type, 19
integer, 29
interactive mode, 6, 16, 21, 51 interpret, 16
invocation, 72, 77 IOError, 86
is operator, 99 item, 77, 91
dictionary, 115
item assignment, 70, 92, 118 item update, 93
items method, 121
iteration, 57, 64
JavaScript Object Notation, 158, 162 join method, 98
jpg, 144
JSON, 158, 162
key, 107, 115
key-value pair, 107, 115, 121 keyboard input, 25 KeyError, 108
keys method, 112








































   239   240   241   242   243