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

(singke) #1

phone number validator script, 333 - 334


photos


centering, 503 - 507
scaling, 501 - 503
special presentations, 521 - 525
storing on removable drive, 498 - 501

Pi Cobbler


circuit, building, 537 - 538
connecting to GPIO interface, 532 - 533

pin layout, GPIO interface, 530


pipe symbol (|), 331


placeholders


{} placeholder, 102 - 103
named placeholders, 210 - 211
positional placeholders, 210

plain text as regular expression pattern, 321 - 323


playing music, 514 - 521


playlists, 516 - 517
songs, queuing, 515

playlists, 516 - 517


randomizing, 521

plugging in peripherals, 21 - 23


plus sign (+), 330


polling, 545 - 546


polymorphism, 306


pop() function, 163


popping list values, 163


populating


dictionaries, 176 - 178
sets, 188 - 189 , 194

portable power supplies, 15


positional formatting, 214 - 215


positional parameters, 246


positional placeholders, 210


POSIX BRE (Basic Regular Expression) engine, 318


POSIX ERE (Extended Regular Expression) engine, 318


PostgreSQL, 447 , 458 - 466


databases
connecting to, 463 - 464
creating, 459 - 460
Free download pdf