04.08.2014 Views

o_18ufhmfmq19t513t3lgmn5l1qa8a.pdf

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

■INDEX<br />

577<br />

assertEqual method<br />

TestCase class 348<br />

AssertionError class 566<br />

assertNotAlmostEqual method<br />

TestCase class 348<br />

assertNotEqual method<br />

TestCase class 348<br />

assertRaises method<br />

TestCase class 348<br />

assignment statements 13, 83, 566<br />

= operator 547<br />

augmented assignment statements 84,<br />

85, 566<br />

chained assignments 84<br />

changing lists 41<br />

sequence unpacking 83–84<br />

slice assignments 42<br />

asterisk width specifier 58<br />

async_chat class<br />

asynchat module 460<br />

collect_incoming_data method 460–461<br />

found_terminator method 460–461<br />

handle_close method 461<br />

push method 461<br />

set_terminator method 460–461<br />

asynchat module 302, 455–456<br />

async_chat class 460<br />

multiple connections 304<br />

asynchronous I/O<br />

multiple connections 304<br />

select and poll functions 306<br />

asyncore framework 456<br />

asyncore module 302, 455–456<br />

dispatcher class 457<br />

loop method 458<br />

multiple connections 304<br />

AttributeError class 161, 170<br />

attributes, binding to functions 149<br />

augmented assignments 84–85, 566<br />

■B<br />

backticks (` `) 551<br />

converting a Python value to a string 25–26<br />

BaseRequestHandler class 303<br />

bdist command 377<br />

Beautiful Soup module 319–320<br />

Beck, Kent et al<br />

Refactoring 387<br />

Test-Driven Development 387<br />

binary mode<br />

mode argument, open function 257<br />

bind method<br />

dispatcher class 458<br />

socket class 298<br />

blit method<br />

pygame.display module 529<br />

transfering contents of one surface to<br />

another 529<br />

blocking 298<br />

blocks, indentation 85–86, 547<br />

blocks generator<br />

instant markup project 394<br />

body method<br />

NNTP class 441, 442<br />

bool function 559<br />

Boole, George 86<br />

Boolean statements 91–92<br />

Boolean values 86<br />

break statements, 98, 568<br />

else clauses 167<br />

build command 374<br />

built-in functions 16–17, 559<br />

built-in methods<br />

issubclass method 153<br />

bulletin board project 483<br />

first implementation 486–489<br />

further exploration 498<br />

goals 483–484<br />

preparations 484–485

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!