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

(singke) #1
verifying, 46 - 47

interpreted programming languages, 50


isdigit() method, 125 - 126


iteration, 131
lists, 168 - 169
for loop, 132 - 143
for loops
iterating through character strings in a list, 136 - 137
iterating through numbers in a list, 133 - 134
iterating with range function, 137 - 140
iterating with variables, 137
tuples, 168 - 169
while loops, 143 - 148
using numeric conditions, 143 - 144
using string conditions, 144 - 145


J-K


joining strings, 205


jumping to lines with syntactical errors (nano), 339


KDE, 34


keyboard
selecting, 16
setup, verifying, 49 - 50


key/value pairs, 175
accessing from dictionaries, 178
dictionaries, populating, 176 - 178
updating, 180 - 181


keywords, 81 - 82


importing into Python, 81 - 82

kivy, 389


L


Label widget, 373


LAMP (Linux-Apache-MySQL-PHP) server environment, 447


Leaf Pad, 64


LED, blinking, 540 - 541


len() function, 159


libraries for game programming, 388


LIFO (last in, first out), 164


line feeds, adding with escape sequence, 75 - 76

Free download pdf