602■I N D E X
twisted.internet.reactor module listenTCP function 309
twisted.protocols.basic module LineReceiver protocol 310
type function 561 type objects 18
TypeError class 161, 180, 182, 193 types
and classes 147–148
■U
UDPServer class SocketServer module 303
unichr function 561 unicode function 561 Unicode strings 29 uniform function
random module 228 union method
set type 222 unit testing 341
unittest module 347–349 TestCase class 347
test-first, code-later programming 345 Unix
setting environment variables 209 UnixDatagramServer class
SocketServer module 303
UnixStreamServer class
SocketServer module 303 unquote function
urllib module 301 unquote_plus function urllib module 301
update function
pygame.display module 529, 532 update method 77
Group class 532 upper method 91
urandom function os module 217, 228
urandom variable os module 217 urlcleanup function
urllib module 301 urlencode function urllib module 301
urllib module 297 functions 301
network programming 300 urlcleanup function 301 urlopen function 300, 301, 417 urlretrieve function 301
urllib2 module
network programming 300 urlopen function
urllib module 300, 301, 417 urlparse module 302, 501 urlretrieve function
urllib module 301 user input, getting 15–16 UserDict module
inheriting from class 183 UserList module
inheriting from class 183 UserString module
inheriting from class 183
■V
ValueError class 161 values method
dictionaries 77 variables 13
vars function 562 virtual tea party 455
first implementation 457 ChatServer class 457–459 ChatSession class 459–463