16.01.2014 Views

Beginning Python - From Novice to Professional

Beginning Python - From Novice to Professional

Beginning Python - From Novice to Professional

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

■INDEX<br />

603<br />

further exploration 472<br />

goals 455<br />

preparations 456–457<br />

problem 455<br />

second implementation 463<br />

basic command interpretation 463–464<br />

login and logout rooms 465<br />

main chat room 466<br />

new server 466–472<br />

rooms 464–465<br />

<strong>to</strong>ols 456<br />

■W<br />

Warning exception class 287<br />

warnings<br />

exceptions as 159<br />

Weave <strong>to</strong>ol<br />

speeding up programs 361<br />

Web programming<br />

dynamic pages with CGI 321<br />

adding the Pound Bang line 321–322<br />

CGI security risks 323<br />

debugging with cgitb 324<br />

preparing the Web server 321<br />

setting file permissions 322<br />

simple CGI script 323–324<br />

simple form 327–328<br />

using cgi module 325–326<br />

mod_python 328<br />

CGI handler 330–331<br />

configuring Apache 330<br />

installing 329<br />

installing on Unix 329<br />

installing on Windows 329<br />

PSP 331–332<br />

Publisher 332–334<br />

screen scraping 313–314<br />

Beautiful Soup module 319–320<br />

HTMLParser 318–319<br />

Tidy 314–317<br />

Web services 335<br />

RSS 335–336<br />

XML-RPC 337–338<br />

Web services<br />

RSS 335–336<br />

scraping 335<br />

XML-RPC 337–338<br />

webbrowser module<br />

open function 218<br />

while loops 94, 569<br />

using readline method, file object 264<br />

while True/break idiom 99–100<br />

win32all 571<br />

Windows<br />

installing <strong>Python</strong> 1–2<br />

setting environment variables 209<br />

wininst format<br />

Distutils installer 378<br />

Wise installer<br />

installing Distutils <strong>to</strong>olkit 378<br />

write method<br />

file object 258<br />

stdout class 310<br />

writeline method<br />

file object 260, 261<br />

wx construc<strong>to</strong>rs<br />

using keyword arguments 274<br />

wx module<br />

importing 272<br />

style facets 276<br />

wx.App class 272, 518<br />

MainLoop method 273<br />

wx.BoxSizer class 276<br />

wx.But<strong>to</strong>n class<br />

adding but<strong>to</strong>n <strong>to</strong> frame 273<br />

wx.Frame class<br />

Show method 273<br />

windows as instances of 273

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

Saved successfully!

Ooh no, something went wrong!