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

(singke) #1

symmetric set difference, 191


synchronous events, 546 - 547


syntactical error exceptions, 337 - 339


syntax


color coding, 53
if statement, 115
for inheritance, 296
input function, 88
for loop, 132
print function, 73 - 75
while loops, 143

T


tables, creating


for MySQL databases, 451 - 452
for PostgreSQL databases, 461 - 463

televisions, connecting Raspberry Pi to analog televisions, 15


terminating


infinite loops, 146 - 147
while loops, 144

test directories, creating modules in, 266 - 267


testing


custom modules, 267 - 268 , 272
function results, 125 - 126
GPIO output, 539 - 540
Python statements, commands used for, 65
strings, 205 - 206

text editors


Leaf Pad, 64
nano
commands, 65
jumping to lines with syntactical errors, 339
Python scripts, creating, 64 - 65
verifying installation, 48

Text widget, 377 - 378


tkinter package, 364 - 372
Button widget, 373
Checkbutton widget, 373 - 375
Entry widget, 397 - 398
event handlers, defining, 370 - 372
Label widget, 373

Free download pdf