The Standard Python Library
Based in part on over 3,000 newsgroup articles written by Python veteran Fredrik Lundh since 1995, this book provides brief descriptions and sample scripts for all standard modules in the Python 2.0 library.
For more information on the book and the print editions, see (the eff-bot guide to) The Standard Python Library.
Table of contents
- Preface
- Core Modules
- More Standard Modules
- Threads and Processes
- Data Representation
- File Formats
- Mail and News Message Processing
- Network Protocols
- Internationalization
- Multimedia Modules
- Data Storage
- Tools and Utilities
- Platform Specific Modules
- Implementation Support Modules
- Other Modules
Copyright © 1999-2005 by Fredrik Lundh
Individual pages:
Overviews
- [core-modules-index] Core Modules
- [data-representation-index] Data Representation
- [data-storage-index] Data Storage
- [file-formats-index] File Formats
- [implementation-support-modules-index] Implementation Support Modules
- [internationalization-index] Internationalization
- [mail-and-news-message-processing-index] Mail and News Message Processing
- [more-standard-modules-index] More Standard Modules
- [multimedia-modules-index] Multimedia Modules
- [network-protocols-index] Network Protocols
- [other-modules-index] Other Modules
- [platform-specific-modules-index] Platform Specific Modules
- [preface-index] Preface
- [threads-and-processes-index] Threads and Processes
- [tools-and-utilities-index] Tools and Utilities
Articles
A
- [aifc] The aifc module
- [anydbm] The anydbm module
- [array] The array module
- [asynchat] The asynchat module
- [asyncore] The asyncore module
- [atexit] The atexit module
- [audiodev] The audiodev module
B
- [base64] The base64 module
- [basehttpserver] The BaseHTTPServer module
- [bastion] The Bastion module
- [bdb] The bdb module
- [binascii] The binascii module
- [binhex] The binhex module
- [bisect] The bisect module
- [bsddb] The bsddb Package
- [builtin] The __builtin__ module
- [bz2] The bz2 Module
C
- [calendar] The calendar module
- [cgi] The cgi module
- [cgihttpserver] The CGIHTTPServer module
- [cgitb] The cgitb Module
- [cmath] The cmath module
- [cmd] The cmd module
- [cmp] The cmp module
- [cmpcache] The cmpcache module
- [code] The code module
- [codecs] The codecs Module
- [colorsys] The colorsys module
- [commands] The commands module
- [compileall] The compileall module
- [compiler] The compiler Package
- [configparser] The ConfigParser module
- [cookie] The Cookie module
- [copy] The copy module
- [copy-reg] The copy_reg module
- [cpickle] The cPickle module
- [crypt] The crypt module
- [cstringio] The cStringIO module
- [csv] The csv Module
- [curses] The curses module
D
- [datetime] The datetime Module
- [dbhash] The dbhash module
- [dbm] The dbm module
- [difflib] The difflib Module
- [dircache] The dircache module
- [dircmp] The dircmp module
- [dis] The dis module
- [distutils] The distutils Package
- [doctest] The doctest Module
- [docxmlrpcserver] The DocXMLRPCServer Module
- [dospath] The dospath module
- [dumbdbm] The dumbdbm module
- [dummy-thread] The dummy_thread Module
- [dummy-threading] The dummy_threading Module
E
- [email] The email Package
- [encodings] The encodings Package
- [encodings-base64-codec] The encodings.base64_codec Module
- [encodings-hex-codec] The encodings.hex_codec Module
- [encodings-quopri-codec] The encodings.quopri_codec Module
- [encodings-rot-13] The encodings.rot_13 Module
- [encodings-uu-codec] The encodings.uu_codec Module
- [encodings-zlib-codec] The encodings.zlib_codec Module
- [errno] The errno module
- [exceptions] The exceptions module
F
- [fcntl] The fcntl module
- [filecmp] The filecmp module
- [fileinput] The fileinput module
- [find] The find module
- [fnmatch] The fnmatch module
- [formatter] The formatter module
- [ftplib] The ftplib module
- [future] The __future__ Module
G
- [gc] The gc module
- [gdbm] The gdbm module
- [getopt] The getopt module
- [getpass] The getpass module
- [glob] The glob module
- [gopherlib] The gopherlib module
- [grep] The grep module
- [grp] The grp module
- [gzip] The gzip module
H
- [heapq] The heapq Module
- [hmac] The hmac Module
- [hotshot] The hotshot Package
- [htmlentitydefs] The htmlentitydefs module
- [htmllib] The htmllib module
- [htmlparser] The HTMLParser Module
- [httplib] The httplib module
I
- [idlelib] The idlelib Package
- [ihooks] The ihooks module
- [imaplib] The imaplib module
- [imghdr] The imghdr module
- [imp] The imp module
- [inspect] The inspect Module
- [itertools] The itertools Module
K
L
M
- [macpath] The macpath module
- [macurl2path] The macurl2path module
- [mailbox] The mailbox module
- [mailcap] The mailcap module
- [markupbase] The markupbase Module
- [marshal] The marshal module
- [math] The math module
- [md5] The md5 module
- [mimetools] The mimetools module
- [mimetypes] The mimetypes module
- [mimewriter] The MimeWriter module
- [mimify] The mimify module
- [mmap] The mmap module
- [modulefinder] The modulefinder Module
- [msvcrt] The msvcrt module
- [multifile] The multifile module
N
- [netrc] The netrc module
- [new] The new module
- [nis] The nis module
- [nntplib] The nntplib module
- [nt] The nt module
- [ntpath] The ntpath module
- [nturl2path] The nturl2path module
O
- [opcode] The opcode Module
- [operator] The operator module
- [optparse] The optparse Module
- [os] The os module
- [os-path] The os.path module
- [os2emxpath] The os2emxpath Module
P
- [packmail] The packmail module
- [parser] The parser module
- [pdb] The pdb module
- [pickle] The pickle module
- [pickletools] The pickletools Module
- [pipes] The pipes module
- [pkgutil] The pkgutil Module
- [platform] The platform Module
- [popen2] The popen2 module
- [poplib] The poplib module
- [posix] The posix module
- [posixfile] The posixfile module
- [posixpath] The posixpath module
- [pprint] The pprint module
- [pre] The pre module
- [profile] The profile module
- [pstats] The pstats module
- [pwd] The pwd module
- [py-compile] The py_compile module
- [pyclbr] The pyclbr module
- [pydoc] The pydoc Module
Q
R
- [random] The random module
- [re] The re module
- [readline] The readline module
- [reconvert] The reconvert module
- [regex] The regex module
- [regex-syntax] The regex_syntax module
- [regsub] The regsub module
- [repr] The repr module
- [resource] The resource module
- [rexec] The rexec module
- [rfc822] The rfc822 module
- [rlcompleter] The rlcompleter module
- [robotparser] The robotparser module
- [rotor] The rotor module
S
- [sched] The sched module
- [select] The select module
- [sets] The sets Module
- [sgmllib] The sgmllib module
- [sha] The sha module
- [shelve] The shelve module
- [shlex] The shlex module
- [shutil] The shutil module
- [signal] The signal module
- [simplehttpserver] The SimpleHTTPServer module
- [simplexmlrpcserver] The SimpleXMLRPCServer module
- [smtpd] The smtpd Module
- [smtplib] The smtplib module
- [sndhdr] The sndhdr module
- [socket] The socket module
- [socketserver] The SocketServer module
- [soundex] The soundex module
- [spwd] The spwd module
- [sre] The sre module
- [stat] The stat module
- [statcache] The statcache module
- [statvfs] The statvfs module
- [string] The string module
- [stringio] The StringIO module
- [stringprep] The stringprep Module
- [strop] The strop module
- [struct] The struct module
- [sunau] The sunau module
- [sunaudio] The sunaudio module
- [symbol] The symbol module
- [symtable] The symtable Module
- [sys] The sys module
- [syslog] The syslog module
T
- [tabnanny] The tabnanny module
- [tarfile] The tarfile Module
- [te] Test
- [telnetlib] The telnetlib module
- [tempfile] The tempfile module
- [termios] The termios module
- [textwrap] The textwrap Module
- [this] The this Module
- [thread] The thread module
- [threading] The threading module
- [time] The time module
- [timeit] The timeit Module
- [timing] The timing module
- [token] The token module
- [tokenize] The tokenize module
- [trace] The trace Module
- [traceback] The traceback module
- [tty] The tty module
- [types] The types module
- [tzparse] The tzparse module
U
- [ucnhash] The ucnhash module
- [unicodedata] The unicodedata module
- [unittest] The unittest Module
- [untitled] The hashlib module
- [urllib] The urllib module
- [urllib2] The urllib2 module (In Progress)
- [urlparse] The urlparse module
- [userdict] The UserDict module
- [userlist] The UserList module
- [userstring] The UserString module
- [util] The util module
- [uu] The uu module
W
- [warnings] The warnings Module
- [wave] The wave module
- [weakref] The weakref Module
- [webbrowser] The webbrowser module
- [whatsound] The whatsound module
- [whichdb] The whichdb module
- [whrandom] The whrandom module
- [winreg] The _winreg module
- [winsound] The winsound module
X
- [xdrlib] The xdrlib module
- [xml-dom] The xml.dom Package
- [xml-parsers-expat] The xml.parsers.expat module
- [xmllib] The xmllib module
- [xmlrpclib] The xmlrpclib Module
- [xreadlines] The xreadlines Module