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

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

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

602 ■INDEX<br />

twisted.internet.reac<strong>to</strong>r module<br />

listenTCP function 309<br />

twisted.pro<strong>to</strong>cols.basic module<br />

LineReceiver pro<strong>to</strong>col 310<br />

type function 561<br />

type objects 18<br />

TypeError class 161, 180, 182, 193<br />

types<br />

and classes 147–148<br />

■U<br />

UDPServer class<br />

SocketServer module 303<br />

unichr function 561<br />

unicode function 561<br />

Unicode strings 29<br />

uniform function<br />

random module 228<br />

union method<br />

set type 222<br />

unit testing 341<br />

unittest module 347–349<br />

TestCase class 347<br />

test-first, code-later programming 345<br />

Unix<br />

setting environment variables 209<br />

UnixDatagramServer class<br />

SocketServer module 303<br />

UnixStreamServer class<br />

SocketServer module 303<br />

unquote function<br />

urllib module 301<br />

unquote_plus function<br />

urllib module 301<br />

update function<br />

pygame.display module 529, 532<br />

update method 77<br />

Group class 532<br />

upper method 91<br />

urandom function<br />

os module 217, 228<br />

urandom variable<br />

os module 217<br />

urlcleanup function<br />

urllib module 301<br />

urlencode function<br />

urllib module 301<br />

urllib module 297<br />

functions 301<br />

network programming 300<br />

urlcleanup function 301<br />

urlopen function 300, 301, 417<br />

urlretrieve function 301<br />

urllib2 module<br />

network programming 300<br />

urlopen function<br />

urllib module 300, 301, 417<br />

urlparse module 302, 501<br />

urlretrieve function<br />

urllib module 301<br />

user input, getting 15–16<br />

UserDict module<br />

inheriting from class 183<br />

UserList module<br />

inheriting from class 183<br />

UserString module<br />

inheriting from class 183<br />

■V<br />

ValueError class 161<br />

values method<br />

dictionaries 77<br />

variables 13<br />

vars function 562<br />

virtual tea party 455<br />

first implementation 457<br />

ChatServer class 457–459<br />

ChatSession class 459–463

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

Saved successfully!

Ooh no, something went wrong!