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

(singke) #1

USB mouse, selecting, 18


user accounts


MySQL, creating, 450 - 451
PostgreSQL, creating, 460 - 461

users, 79


utilities, Linux shell, 29


V


validating


custom modules, 272
GPIO output, 539 - 540
user input with for loops, 141 - 142

values


comparing
Boolean comparisons, 124 - 125
numeric comparisons, 122
string comparisons, 122 - 124
passing to functions, 244 - 250
arguments, 244 - 246
retrieving with dictionaries, 249 - 250
returning, 243 - 244

van Rossum, Guido, 45


variables, 81 - 82. See also object references


assigning value to, 82 - 86
long string values, 84 - 85
number values, 85 - 86
calculation results, assigning, 101
camel Case, 194
data types, 86 - 88
converting, 89 - 90
in equations, 100 - 101
global variables, 251 - 253
local variables, 251
naming, 82
parameters, 244 - 246
default values, setting, 246 - 247
multiple parameters, retrieving, 248 - 249
positional parameters, 246
reassigning values to, 86
separators, 83
unassigned, 84
Free download pdf