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

595<br />

Python C API 365<br />

hand-coded palindrome module 369–370<br />

python command 3<br />

Python Cookbook<br />

Alex Martelli 93<br />

Python Database API 285<br />

connections and cursors 287–289<br />

exceptions 287<br />

global variables 286<br />

types 289<br />

constructors and special values 289<br />

Python functions 112–113<br />

Python Server Pages 331–332<br />

python-list@python.org mailing list 573<br />

PYTHONPATH environment variable<br />

including module directory in 208<br />

PythonWin GUI toolkit 271, 573<br />

P Y X package 412<br />

PyXML module 573<br />

■Q<br />

-Qnew command-line switch 11<br />

quote function<br />

urllib module 301<br />

quote_plus function<br />

urllib module 301<br />

■R<br />

Raggett, Dave<br />

Getting Started with HTML 391<br />

raise statement<br />

catching exceptions 163<br />

examples of using with Exception class<br />

160–161<br />

raise statements 568<br />

random module 501<br />

examples 229–231<br />

introduction 228<br />

random function<br />

random module 228<br />

randomString function 510<br />

randrange function<br />

random module 228<br />

range function 561<br />

checking for arguments 213<br />

for loops 548<br />

raw strings 27–28<br />

raw_input 23<br />

compared to input 26<br />

raw_input function 241, 548, 561<br />

rawDataReceived event handler 310<br />

Raymond, Eric S.<br />

Art of UNIX Programming, The 387<br />

RDF Site Summary. See RSS<br />

re module<br />

content of 238–241<br />

examples 244–251<br />

importing 160<br />

MatchObjects and groups 241<br />

support for regular expressions 235<br />

using group numbers and functions in<br />

substitutions 242–243<br />

read method<br />

file object 258<br />

readline method<br />

file object 260–261<br />

using in a while loop 264<br />

Really Simple Syndication. See RSS<br />

recursion 129<br />

binary search 131–133<br />

factorial and power 130–131<br />

parts 129–130<br />

recursive generators 192–193<br />

making safer 193–194<br />

reduce function 135, 136, 137, 561<br />

Refactoring<br />

Kent Beck et al 387<br />

refactoring, description 439<br />

reference counting 366–367

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

Saved successfully!

Ooh no, something went wrong!