Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours

(singke) #1
dictionaries, 181 - 182
directories, 220 - 221

manipulating


files, 220 - 221
strings with functions, 202 - 204
string-joining functions, 205
string-splitting functions, 204 - 205
string-testing functions, 205 - 206

mappings, 178


match() function, 319 - 320


math module, 106 - 107. See also NumPy module


hyperbolic functions, 108
logarithmic functions, 108
number theory functions, 107 - 108
statistical math functions, 110
trigonometric functions, 108

mathematical operators, 97 - 100
binary operators, 98
floor division operator, 98
logical operators, 98 - 100
comparisons, grouping, 126 - 127
order of operations, 100
shortcuts, 103


maximum value in a tuple, identifying, 159 - 160


megapixel rating, 494 - 495


Menu widget, 380 - 381


methods, 280 - 287


accessor methods, 281 - 283
constructors, 283 - 284
CSSSelector() method, 435 - 436
ehlo() method, 429
file object methods, 223 - 224
isdigit() method, 125 - 126
mutator methods, 280 - 281
os methods, 220 - 221
overriding, 306
property() method, 286 - 287
range() method, 171
in socket module, 439

minimum value in a tuple, identifying, 159 - 160


mkdir command, 31

Free download pdf