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

(singke) #1

dot character as pattern for regular expressions, 325 - 326


double quotes (“), print function syntax, 72 - 73


downloading Raspbian, 20


dpi (dots per inch), 494


drawing shapes, 404 - 407


duty cycle, 541


dynamic webpages, 476 - 480


E


ehlo() method, 429


elements
adding to sets, 188 - 189
set difference, 190 - 191
set intersection, 190
set membership, 189
set union, 189 - 190
symmetric set difference, 191


elif statement, 120 - 121


else clause (while loops), 145


else statement, 118 - 120


email servers, 423 - 432


Linux, modular email environment, 425 - 427
remote email servers, 428
RFC 2822 email standard, 429
sending messages, 430 - 432
smtplib module, 427 - 429

entering commands at command line, 31 - 33


Entry widget, 397 - 398


equations


complex number math, 105 - 106
floating-point accuracy in calculations, 102
Fraction object, 103 - 105
numbers, displaying, 102 - 103
variables, 100 - 101

errors
generic exception handling, 350
runtime error exceptions, 340 - 342
syntactical error exceptions, 337 - 339


escape sequences


line feeds, adding, 75 - 76
output, controlling, 75 - 76
Free download pdf