04.08.2014 Views

o_18ufhmfmq19t513t3lgmn5l1qa8a.pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

■INDEX<br />

587<br />

initialization 38<br />

naming functions 370<br />

inplace parameter<br />

fileinput module 220<br />

input compared to raw_input 26<br />

input function 548, 560<br />

fileinput module 219<br />

insert method<br />

lists 45<br />

inspect module 156, 408<br />

install command 375<br />

instant markup project 391<br />

first implementation 394<br />

adding markup 395–396<br />

goals for project 392<br />

preparation 392–393<br />

problem defined 391<br />

second implementation 396<br />

components 396<br />

constructing rules and filters 402–403<br />

filters 401<br />

handler superclass 398–399<br />

handlers 397<br />

Parser class 401<br />

putting it all together 403–408<br />

Rule superclass 400<br />

rules 399–400<br />

tools 392<br />

int function 548, 560<br />

integers 10<br />

large integers 12–13<br />

IntegrityError exception class 287<br />

InterfaceError exception class 287<br />

interfaces<br />

and introspection 155–156<br />

polymorphism 155–156<br />

InternalError exception class 287<br />

interpreter, interactive 8–9<br />

Introduction to Algorithms<br />

Cormen, Thomas H. et al 387<br />

IOError class 161<br />

IronPython 571<br />

alternative Python distribution 7<br />

extending 358–360<br />

is not operator 558<br />

is operator 90, 91, 558<br />

isfirstline function<br />

fileinput module 219, 220<br />

isinstance function 560<br />

isstdin function<br />

fileinput module 219<br />

issubclass function 560<br />

issubclass method<br />

built-in method 153<br />

item access 179<br />

basic sequence and mapping protocol<br />

180–182<br />

subclassing list, dict and str 182–184<br />

items method<br />

dictionaries 75<br />

iter function 560<br />

iteration utilities<br />

numbered iteration 97<br />

parallel iteration 96–97<br />

iterators<br />

__iter__ method 173<br />

iterator protocol 190<br />

making sequences from iterators 191<br />

iteritems method<br />

dictionaries 75, 96<br />

iterkeys method<br />

dictionaries 76, 96<br />

itertools module 252<br />

itervalues method<br />

dictionaries 77, 96

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

Saved successfully!

Ooh no, something went wrong!