Python Programming for the Absolute Beginner, 3rd Edition

W

w file access mode, 202

w+ file access mode, 202

w shelve access mode, 212

Web site, Python, 6–7

welcome() function, 222

while loops, 67–69, 92

widgets (window gadgets), 307, 316–321

width attribute, Screen class, 424

width parameter, 320

window gadgets (widgets), 307, 316–321

Windows, installing Python on, 6

windows console, 2

Word Jumble game, 92

congratulations, 124

empty jumble string, 122

end of game, 124

loops, setting up, 122

player's guesses, 124

program setup, 121

welcoming players, 123

Word Problems program, 28–30

WORD value, 320

wrap parameter, 320

write() function, 206–208

writelines() function, 207–208

writing

modules, 281–283

to text files, 205–208

Категории