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

(singke) #1

publishing


database data on the web, 478
webpages, 472

purchasing Raspberry Pi, 9 - 11


required peripherals, 11 - 16
keyboard, 16
output display, 15 - 16
power supply, 13 - 15
SD card, 12 - 13

pwd command, 31


PWM output, 530 , 541 - 542


.py file extension, 63


PyGame library, 389
event handling, 403 - 404
game screen
displaying text on, 399 - 403
setting up, 397 - 398
graphics
interacting with on game screen, 409 - 410
moving on the game screen, 408 - 409 , 411 - 414
help facility, 404
image handling, testing, 405 - 407
initializing, 396 - 397
installing, 390 - 391 , 394
loading, 396 - 397
modules, 394
object classes, 396
packages, installing, 393 - 394
setting up, 388 - 394
shapes, drawing, 404 - 407
sound, adding to games, 407
source code, obtaining, 392 - 393
verifying installation, 390


Pyglet, 389


PyPi (Python Package Index), 261


PySoy, 389


Python, 9. See also Python scripts


development environment shell, 50 , 53 - 57. See also IDLE
syntax, color coding, 53
history of, 45 - 46
installing, 48 - 50
Free download pdf