Page 437 -
P. 437
the index
key-value lists. (see hashes) McLaughlin, Brett D. (Head First Object-Oriented Analy-
sis & Design), 392
Komodo IDE, 395
memory, 129–130
menus, 248
L message boxes, 303–309, 311
messages
error messages. (see errors)
Label() widget, 248–253, 255
protocol messages, 322
labels for values. (see variables) sending to Twitter, 93–98, 101
Learning Python, 4th Edition (Lutz), 386 metaprogramming, 394
libraries, 75. (see also pygame library) methods, 377, 383. (see also specific methods)
importing, 49, 69, 221, 226 calling, 369–372
third-party libraries (packages), 220, 223 defining, 367–368
time library, 68–73 mixing software example, 314–347, 350–382
tkinter library, 233–236, 238, 255, 341
multiple tracks, controlling, 350–376
linked lists, 152 multiple tracks, reading from directory, 378–382
listdir() function, 380 toggle for starting and stopping, 328–335
lists. (see arrays) tracks, starting and stopping, 314–327
volume control, 336–347
local functions, 356–358, 383
model for data entry widgets, 276–278, 285, 292
local variables, 105, 106, 111
Model View Controller (MVC), 277
localtime() function, time library, 70
modular code, 192–199, 200–202, 205–211, 214. (see also
loops, 28, 35 reusing code)
delaying iterations of, 67–73 module. (see code)
event loop, 233–234, 255
for loop, 116–118, 154–156 multi-dimensional arrays, 152
while loop, 29–33, 61–65 multiple assignment, 122–124
lower() method, strings, 56 MVC (Model View Controller), 277
Lutz, Mark (Learning Python, 4th Edition), 386
N
M \n, newline in format strings, 182
mainloop() method, tkinter, 234, 253 New Window option, File menu, 6
mappings. (see hashes) not equal to operator (!=), 30
402 Index

