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

(singke) #1
creating, 167
referencing values in, 168

multiple statements, grouping


elif statement, 120 - 121
else statement, 118 - 120
if statement, 117 - 118

music


playback, controlling, 517 - 521
playing, 514 - 521
playlists, 516 - 517
special presentations, 521 - 525
storing on removable drive, 515 - 516

mutator methods, 280 - 281


MySQL, 447 - 458


databases
connecting to, 452
creating, 449 - 450
inserting data, 455 - 457
querying data, 457 - 458
environment, setting up, 448 - 452
installing, 448
tables, creating, 451 - 452
user accounts, creating, 450 - 451

MySQL/Connector module, installing, 452


N


named placeholders, 210 - 211


naming


functions, 242 - 243
modules, 266
variables, 82

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


negating


character classes, 327 - 328
condition checks, 127 - 128

nested functions, 89

Free download pdf