Python Standard Library

Table of Contents

Preface

Chapter 1. Core Modules
   Introduction 
   The __builtin__ Module 
   The exceptions Module 
   The os Module 
   The os.path Module 
   The stat Module 
   The string Module 
   The re Module 
   The math Module 
   The cmath Module 
   The operator Module 
   The copy Module 
   The sys Module 
   The atexit Module 
   The time Module 
   The types Module 
   The gc Module 

Chapter 2. More Standard Modules
   Overview 
   The fileinput Module 
   The shutil Module 
   The tempfile Module 
   The StringIO Module 
   The cStringIO Module 
   The mmap Module 
   The UserDict Module 
   The UserList Module 
   The UserString Module 
   The traceback Module 
   The errno Module 
   The getopt Module 
   The getpass Module 
   The glob Module 
   The fnmatch Module 
   The random Module 
   The whrandom Module 
   The md5 Module 
   The sha Module 
   The crypt Module 
   The rotor Module 
   The zlib Module 
   The code Module 

Chapter 3. Threads and Processes
   Overview 
   The threading Module 
   The Queue Module 
   The thread Module 
   The commands Module 
   The pipes Module 
   The popen2 Module 
   The signal Module 

Chapter 4. Data Representation
   Overview 
   The array Module 
   The struct Module 
   The xdrlib Module 
   The marshal Module 
   The pickle Module 
   The cPickle Module 
   The copy_reg Module 
   The pprint Module 
   The repr Module 
   The base64 Module 
   The binhex Module 
   The quopri Module 
   The uu Module 
   The binascii Module 

Chapter 5. File Formats
   Overview 
   The xmllib Module 
   The xml.parsers.expat Module 
   The sgmllib Module 
   The htmllib Module 
   The htmlentitydefs Module 
   The formatter Module 
   The ConfigParser Module 
   The netrc Module 
   The shlex Module 
   The zipfile Module 
   The gzip Module 

Chapter 6. Mail and News Message Processing
   Overview 
   The rfc822 Module 
   The mimetools Module 
   The MimeWriter Module 
   The mailbox Module 
   The mailcap Module 
   The mimetypes Module 
   The packmail Module 
   The mimify Module 
   The multifile Module 

Chapter 7. Network Protocols
   Overview 
   The socket Module 
   The select Module 
   The asyncore Module 
   The asynchat Module 
   The urllib Module 
   The urlparse Module 
   The cookie Module 
   The robotparser Module 
   The ftplib Module 
   The gopherlib Module 
   The httplib Module 
   The poplib Module 
   The imaplib Module 
   The smtplib Module 
   The telnetlib Module 
   The nntplib Module 
   The SocketServer Module 
   The BaseHTTPServer Module 
   The SimpleHTTPServer Module 
   The CGIHTTPServer Module 
   The cgi Module 
   The webbrowser Module 

Chapter 8. Internationalization
   The locale Module 
   The unicodedata Module 
   The ucnhash Module 

Chapter 9. Multimedia Modules
   Overview 
   The imghdr Module 
   The sndhdr module 
   The whatsound Module 
   The aifc Module 
   The sunau Module 
   The sunaudio Module 
   The wave Module 
   The audiodev Module 
   The winsound Module 
   The colorsys Module 

Chapter 10. Data Storage
   Overview 
   The anydbm Module 
   The whichdb Module 
   The shelve Module 
   The dbhash Module 
   The dbm Module 
   The dumbdbm Module 
   The gdbm Module 

Chapter 11. Tools and Utilities
   The dis Module 
   The pdb Module 
   The bdb Module 
   The profile Module 
   The pstats Module 
   The tabnanny Module 

Chapter 12. Platform-Specific Modules
   Overview 
   The fcntl Module 
   The pwd Module 
   The grp Module 
   The nis Module 
   The curses Module 
   The termios Module 
   The tty Module 
   The resource Module 
   The syslog Module 
   The msvcrt Module 
   The nt Module 
   The _winreg Module 
   The posix Module 

Chapter 13. Implementation Support Modules
   The dospath Module 
   The macpath Module 
   The ntpath Module 
   The posixpath Module 
   The strop Module 
   The imp Module 
   The new Module 
   The pre Module 
   The sre Module 
   The py_compile Module 
   The compileall Module 
   The ihooks Module 
   The linecache Module 
   The macurl2path Module 
   The nturl2path module 
   The tokenize Module 
   The keyword Module 
   The parser Module 
   The symbol Module 
   The token Module 

Chapter 14. Other Modules
   Overview 
   The pyclbr Module 
   The filecmp Module 
   The cmd Module 
   The rexec Module 
   The Bastion Module 
   The readline Module 
   The rlcompleter Module 
   The statvfs Module 
   The calendar Module 
   The sched Module 
   The statcache Module 
   The grep Module 
   The dircache Module 
   The dircmp Module 
   The cmp Module 
   The cmpcache Module 
   The util Module 
   The soundex Module 
   The timing Module 
   The posixfile Module 
   The bisect Module 
   The knee Module 
   The tzparse Module 
   The regex Module 
   The regsub Module 
   The reconvert Module 
   The regex_syntax Module 
   The find Module