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 />

579<br />

cmd module 252, 501<br />

Cmd class 463–464, 509<br />

cmp function 89, 559<br />

code coverage<br />

testing 343<br />

collect_incoming_data method<br />

async_chat class 460–461<br />

collections module<br />

deque type 225–226<br />

command interpretation, modeling<br />

Cmd class 463–464<br />

command prompt<br />

running scripts from 20<br />

CommandHandler class<br />

creating rooms 464–465<br />

command-line tools<br />

using with subprocess module 352<br />

comments 22, 112<br />

commit method<br />

connection object 288, 486<br />

Common Gateway Interface. See CGI<br />

comp.lang.python Usenet group 573<br />

comp.lang.python.announce Usenet<br />

group 573<br />

comparison operators 89<br />

chaining 89<br />

comparing strings and sequences 91<br />

equality operator 89<br />

identity operator (is) 90, 91<br />

membership operator (in) 91<br />

compile function<br />

re module 239<br />

complex function 559<br />

compound statements 569<br />

concatenation<br />

sequences with plus sign + 551<br />

strings 24<br />

condition method<br />

rule objects 400, 401<br />

conditional execution<br />

if Statements 87<br />

conditional statements 86–87<br />

elif clauses 88<br />

else clauses 87<br />

if statements 87<br />

nesting blocks 88<br />

conditions 86, 87<br />

assertions 93<br />

boolean statements 91–92<br />

comparison operators 89–91<br />

ConfigParser module 384<br />

configuration 383<br />

configuration files 384–385<br />

extracting constants 383–384<br />

conflict function 197<br />

connect function<br />

common parameters 287<br />

connection object<br />

methods 288<br />

close method 486<br />

commit method 486<br />

cursor method 486<br />

constructors 174<br />

calling unbound superclass constructor<br />

177–178<br />

creating 174–175<br />

overriding 175–177<br />

super function 178–179<br />

ContentHandler class<br />

xml.sax.handler module 425<br />

continue statements 99, 568<br />

conversion specifiers 54<br />

anatomy 56<br />

field width 57–58<br />

precision 57<br />

tuples 55<br />

convert function 292<br />

Cookie module 302

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

Saved successfully!

Ooh no, something went wrong!