Index_A


A

a file access mode, 202

a+ file access mode, 202

abs() method, 420

abstract classes, 350

abstraction, functions, 168

access

file access modes, 202

methods, 250

random, 100

sequential, 99

shelve access modes, 212

add() method, 267

addition (+) operator, 27, 31, 120

afterdeath attribute, Message class, 429

algorithms

defined, 84

pseudocode, 84

stepwise refinement, 84–85

Alien Blaster program example, 261–263

all_objects() method, 343, 425

alphabetic keystrokes, 381

and logical operator, 81–82

Animation class, 384–387, 429

append() function, 136, 138

Application class, 312–313

arguments

exception arguments, 218

keyword, 176

positional, 175–176

art, ASCII Art, 21

ASCII Art, 21

assignment operators, 46–47

assignment statement, 34

asteroids, Astrocrash game example, 394–397

Astrocrash game example, 378

asteroids, 394–397

collisions, handling, 407–410

explosions, 410–414

game assets, 394

game classes, 394

game features, 393

missiles, firing, 402–407

ship movement, 399–402

ship rotation, 397–399

Attribute Critter program example, 235–237

attributes

accessing, 238

afterdeath, Message class, 429

Attribute Critter program example, 235–237

class attributes, 239

accessing, 241–242

creating, 241

color, Text class, 428

defined, 229

height, Screen class, 424

images, Animation class, 430

initializing, 237–238

lifetime, Message class, 429

n_repeats, Animation class, 430

private, 248

accessing, 245–246

creating, 245

defined, 244

public, 244

repeat_interval, Animation class, 430

size, Text class, 428

text, Text class, 428

total, 239

width, Screen class, 424

augmented assignment operators, 46–47




Python Programming for the Absolute Beginner
Python Programming for the Absolute Beginner, 3rd Edition
ISBN: 1435455002
EAN: 2147483647
Year: 2003
Pages: 194

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net