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.

604 ■INDEX<br />

wx.Panel class<br />

SetSizer method 276<br />

wxPython GUI toolkit 271, 573<br />

adding GUI to files 517<br />

downloading and installing 271–272<br />

event handling 278<br />

finished program 278–280<br />

getting started 272<br />

labels and positions 274–276<br />

layout 276–277<br />

writing programs 273<br />

■X<br />

XHTML<br />

reasons for using 317<br />

XML files<br />

parsing 421–422<br />

special characters 436<br />

XML for all occasions project 421<br />

first implementation 424<br />

creating a simple content handler<br />

425–427<br />

creating HTML pages 428–429<br />

further exploration 437<br />

goals 422<br />

parsing XML files 421–422<br />

preparations 423–424<br />

second implementation 430<br />

dispatcher mix-in class 430–432<br />

event handlers 433–436<br />

factoring out header, footer, and default<br />

handling 432<br />

support for directories 432–433<br />

tools 422<br />

xml.sax module<br />

parse function 425<br />

xml.sax.handler module<br />

ContentHandler class 425<br />

XML-RPC<br />

file sharing with 499–516<br />

introduction 337–338<br />

xmlrpclib module 302, 337, 501<br />

Fault class 510<br />

importing 501<br />

xrange function 562<br />

xreadlines method<br />

file object 263<br />

lazy line iteration 265<br />

■Y<br />

yield statements 192, 194, 567<br />

■Z<br />

Zawinski, Jamie 235<br />

ZeroDivisionError class 159, 161, 555<br />

catching with except clause 164<br />

exceptions 168<br />

muffling 163<br />

zero-padding 58<br />

zip function 562<br />

parallel iteration 97<br />

Zope 313

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

Saved successfully!

Ooh no, something went wrong!