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

(singke) #1
comments, adding, 80
formatting with string concatenation, 79

loops


indentation, 132
infinite loops, 146 - 147
for loop, 132 - 143
for loops
assigning data types from a list, 135 - 136
iterating through numbers in a list, 133 - 134
iterating with range function, 137 - 140
structure, 134 - 135
validating user input with, 141 - 142
nested loops, 149 - 150
while loops, 143 - 148
else clause, 145
entering data with, 147 - 148
iteration using numeric conditions, 143 - 144
iteration using string conditions, 144 - 145
terminating, 144

ls command, 31


LXDE graphical interface, 35


desktop icons, 35
LXPanel, 36 - 39
Digital Clock icon, 39
ScreenLock icon, 39

LXDE Logout Manager, 38 - 39


LXDE Programs Menu icon, 37 - 39


LXML module


CSSSelector() method, 435 - 436
etree methods, 434 - 435
installing, 433

LXPanel, 36 - 39
Digital Clock icon, 39
File Manger icon, 38
LXDE Logout Manager, 38 - 39
LXDE Programs Menu icon, 37 - 39
ScreenLock icon, 39


LXTerminal icon (LXDE), 35


M


managing

Free download pdf