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

(singke) #1
prcal(), 263
print function, 71 - 75
arguments, 72 - 73
output, formatting, 73 - 75
range function, 137 - 140
in re module, 319 - 320
recursion, 254
results, testing, 125 - 126
reverse() function, 167
reversed(), 169 - 170
rfind() function, 208
search() function, 320
sort() function, 166
sorted() function, 169 - 170 , 179 - 180
string-manipulation functions, 202 - 204
type function, 87
variables
global variables, 251 - 253
local variables, 251

G


game designers, 388


game developers, 388


game frameworks, 388


game programming, 387 - 388


game frameworks, 388
libraries, 388
PyGame library
adding sound to games, 407
event handling, 403 - 404
game screen, setting up, 397 - 398
installing, 390 - 391
modules, 394
object classes, 396
setting up, 388 - 394
shapes, drawing, 404 - 407
source code, obtaining, 392 - 393
verifying installation, 390
Raspberry Pie game, 410 - 417
SDL, 388

game screen

Free download pdf