| |
| |
Front Matter | |
| |
| |
Abstract | |
| |
| |
Introduction | |
| |
| |
Built-in Types, Exceptions and Functions | |
| |
| |
Built-in Types | |
| |
| |
Built-in Exceptions | |
| |
| |
Built-in Functions | |
| |
| |
Python Services | |
| |
| |
sys--System-specific parameters and functions | |
| |
| |
types--Names for all built-in types | |
| |
| |
UserDict--Class wrapper for dictionary objects | |
| |
| |
UserList--Class wrapper for list objects | |
| |
| |
operator--Standard operators as functions | |
| |
| |
traceback--Print or retrieve a stack traceback | |
| |
| |
linecache--Random access to text lines | |
| |
| |
pickle--Python object serialization | |
| |
| |
cPickle--Alternate implementation of pickle | |
| |
| |
copy_reg--Register pickle support functions | |
| |
| |
shelve--Python object persistency | |
| |
| |
copy--Shallow and deep copy operations | |
| |
| |
marshal--Alternate Python object serialization | |
| |
| |
imp--Access the import internals | |
| |
| |
parser--Access Python parse trees | |
| |
| |
symbol--Constants used with Python parse trees | |
| |
| |
token--Constants used with Python parse trees | |
| |
| |
keyword--Testing for Python keywords | |
| |
| |
tokenize--Tokenizer for Python source | |
| |
| |
pyclbr--Python class browser support | |
| |
| |
code--Interpreter base classes | |
| |
| |
codeop--Compile Python code | |
| |
| |
pprint--Data pretty printer | |
| |
| |
repr--Alternate repr() implementation | |
| |
| |
py_compile--Compile Python source files | |
| |
| |
compileall--Byte-compile Python libraries | |
| |
| |
dis--Disassembler | |
| |
| |
new--Runtime implementation object creation | |
| |
| |
site--Site-specific configuration hook | |
| |
| |
user--User-specific configuration hook | |
| |
| |
__builtin__--Built-in functions | |
| |
| |
__main__--Top-level script environment | |
| |
| |
String Services | |
| |
| |
string--Common string operations | |
| |
| |
re--Perl-style regular expression operations | |
| |
| |
regex--Regular expression search and match operations | |
| |
| |
regsub--String operations using regular expressions | |
| |
| |
struct--Interpret strings as packed binary data | |
| |
| |
fpformat--Floating point conversions | |
| |
| |
StringIO--Read and write strings as files | |
| |
| |
cStringIO--Faster version of StringIO | |
| |
| |
Miscellaneous Services | |
| |
| |
math--Mathematical functions | |
| |
| |
cmath--Mathematical functions for complex numbers | |
| |
| |
random--Generate pseudo-random numbers | |
| |
| |
whrandom--Pseudo-random number generator | |
| |
| |
bisect--Array bisection algorithm | |
| |
| |
array--Efficient arrays of numeric values | |
| |
| |
ConfigParser--Configuration file parser | |
| |
| |
fileinput--Iterate over lines from multiple input streams | |
| |
| |
calendar--General calendar-related functions | |
| |
| |
cmd--Build line-oriented command interpreters | |
| |
| |
shlex--Simple lexical analysis | |
| |
| |
Generic Operating System Services | |
| |
| |
os--Miscellaneous OS interfaces | |
| |
| |
os.path--Common pathname manipulations | |
| |
| |
dircache--Cached directory listings | |
| |
| |
stat--Interpreting stat() results | |
| |
| |
statcache--An optimization of os.stat() | |
| |
| |
statvfs--Constants used with os.statvfs() | |
| |
| |
cmp--File comparisons | |
| |
| |
cmpcache--Efficient file comparisons | |
| |
| |
time--Time access and conversions | |
| |
| |
sched--Event scheduler | |
| |
| |
getpass--Portable password input | |
| |
| |
curses--Terminal independant console handling | |
| |
| |
getopt--Parser for command line options | |
| |
| |
tempfile--Generate temporary file names | |
| |
| |
errno--Standard errno system symbols | |
| |
| |
glob--Unix style pathname pattern expansion | |
| |
| |
fnmatch--Unix filename pattern matching | |
| |
| |
shutil--High-level file operations | |
| |
| |
locale--Internationalization services | |
| |
| |
mutex--Mutual exclusion support | |
| |
| |
Optional Operating System Services | |
| |
| |
signal--Set handlers for asynchronous events | |
| |
| |
socket--Low-level networking interface | |
| |
| |
select--Waiting for I/O completion | |
| |
| |
thread--Multiple threads of control | |
| |
| |
threading--Higher-level threading interface | |
| |
| |
Queue--A synchronized queue class | |
| |
| |
anydbm--Generic access to DBM-style databases | |
| |
| |
dumbdbm--Portable DBM implementation | |
| |
| |
dbhash--DBM-style interface to the BSD database library | |
| |
| |
whichdb--Guess which DBM module created a database | |
| |
| |
bsddb--Interface to Berkeley DB library | |
| |
| |
zlib--Compression compatible with gzip | |
| |
| |
gzip--Support for gzip files | |
| |
| |
rlcompleter--Completion function for readline | |
| |
| |
Unix Specific Services | |
| |
| |
posix--The most common POSIX system calls | |
| |
| |
pwd--The password database | |
| |
| |
grp--The group database | |
| |
| |
crypt--Function to check Unix passwords | |
| |
| |
dl--Call C functions in shared objects | |
| |
| |
dbm--Simple "database" interface | |
| |
| |
gdbm--GNU's reinterpretation of dbm | |
| |
| |
termios--POSIX style tty control | |
| |
| |
Termios--Constants used with the termios module | |
| |
| |
tty--Terminal control functions | |
| |
| |
pty--Pseudo-terminal utilities | |
| |
| |
fcntl--The fcntl() and ioctl() system calls | |
| |
| |
pipes--Interface to shell pipelines | |
| |
| |
posixfile--File-like objects with locking support | |
| |
| |
resource--Resource usage information | |
| |
| |
nis--Interface to Sun's NIS (Yellow Pages) | |
| |
| |
syslog--Unix syslog library routines | |
| |
| |
popen2-Subprocesses with accessible I/O streams | |
| |
| |
commands--Utilities for running commands | |
| |
| |
The Python Debugger | |
| |
| |
Debugger Commands | |
| |
| |
How It Works | |
| |
| |
The Python Profiler | |
| |
| |
Introduction to the profiler | |
| |
| |
How Is This Profiler Different From The Old Profiler? | |
| |
| |
Instant Users Manual | |
| |
| |
What Is Deterministic Profiling? | |
| |
| |
Reference Manual | |
| |
| |
Limitations | |
| |
| |
Calibration | |
| |
| |
Extensions--Deriving Better Profilers | |
| |
| |
Internet Protocols and Support | |
| |
| |
cgi--Common Gateway Interface support | |
| |
| |
urllib--Open an arbitrary resource by URL | |
| |
| |
httplib--HTTP protocol client | |
| |
| |
ftplib--FTP protocol client | |
| |
| |
gopherlib--Gopher protocol client | |
| |
| |
poplib--POP3 protocol client | |
| |
| |
imaplib--IMAP4 protocol client | |
| |
| |
nntplib--NNTP protocol client | |
| |
| |
smtplib--SMTP protocol client | |
| |
| |
telnetlib--Telnet client | |
| |
| |
urlparse--Parse URLs into components | |
| |
| |
SocketServer--A framework for network servers | |
| |
| |
BaseHTTPServer--Basic HTTP server | |
| |
| |
SimpleHTTPServer--A Do-Something Request Handler | |
| |
| |
CGIHTTPServer--A Do-Something Request Handler | |
| |
| |
asyncore--Asynchronous socket handler | |
| |
| |
Internet Data Handling | |
| |
| |
sgmllib--Simple SGML parser | |
| |
| |
htmllib--A parser for HTML documents | |
| |
| |
htmlentitydefs--Definitions of HTML general entities | |
| |
| |
xmllib--A parser for XML documents | |
| |
| |
formatter--Generic output formatting | |
| |
| |
rfc822--Parse RFC 822 mail headers | |
| |
| |
mimetools--Tools for parsing Mime messages | |
| |
| |
MimeWriter--Generic Mime file writer | |
| |
| |
multifile--Support for files containing distinct parts | |
| |
| |
binhex--Encode and decode binhex4 files | |
| |
| |
uu--Encode and decode uuencode files | |
| |
| |
binascii--Convert between binary and ASCII | |
| |
| |
xdrlib--Encode and decode XDR data | |
| |
| |
mailcap--Mailcap file handling | |
| |
| |
mimetypes--Map filenames to Mime types | |
| |
| |
base64--Encode and decode Mime base64 data | |
| |
| |
quopri--Encode and decode Mime quoted-printable data | |
| |
| |
mailbox--Read various mailbox formats | |
| |
| |
mhlib--Access to MH mailboxes | |
| |
| |
mimify--Mime processing of mail messages | |
| |
| |
netrc--netrc file processing | |
| |
| |
Restricted Execution | |
| |
| |
rexec--Restricted execution framework | |
| |
| |
Bastion--Restricting access to objects | |
| |
| |
Multimedia Services | |
| |
| |
audioop--Manipulate raw audio data | |
| |
| |
imageop--Manipulate raw image data | |
| |
| |
aifc--Read and write AIFF and AIFC files | |
| |
| |
sunau--Read and write Sun AU files | |
| |
| |
wave--Read and write WAV files | |
| |
| |
chunk--Read IFF chunked data | |
| |
| |
colorsys--Conversions between color systems | |
| |
| |
rgbimg--Read and write "SGI RGB" files | |
| |
| |
imghdr--Determine the type of an image | |
| |
| |
sndhdr--Determine type of sound file | |
| |
| |
Cryptographic Services | |
| |
| |
md5--MD5 message digest algorithm | |
| |
| |
sha--SHA message digest algorithm | |
| |
| |
mpz--Gnu arbitrary magnitude integers | |
| |
| |
rotor--Enigma-like encryption and decryption | |
| |
| |
SGI IRIX Specific Services | |
| |
| |
al--Audio functions on the SGI | |
| |
| |
AL--Constants used with the al module | |
| |
| |
cd--CD-ROM access on SGI systems | |
| |
| |
fl--FORMS library interface for GUI applications | |
| |
| |
FL--Constants used with the fl module | |
| |
| |
flp--Functions for loading stored FORMS designs | |
| |
| |
fm--Font Manager interface | |
| |
| |
gl--Graphics Library interface | |
| |
| |
DEVICE--Constants used with the gl module | |
| |
| |
GL--Constants used with the gl module | |
| |
| |
imgfile--Support for SGI imglib files | |
| |
| |
jpeg--Read and write JPEG files | |
| |
| |
SunOS Specific Services | |
| |
| |
sunaudiodev--Access to Sun audio hardware | |
| |
| |
SUNAUDIODEV--Constants used with sunaudiodev | |
| |
| |
MS Windows Specific Services | |
| |
| |
msvcrt - Useful routines from the MS VC++ runtime | |
| |
| |
winsound--Sound-playing interface for Windows | |
| |
| |
Undocumented Modules | |
| |
| |
Frameworks | |
| |
| |
Miscellaneous useful utilities | |
| |
| |
Platform specific modules | |
| |
| |
Multimedia | |
| |
| |
Obsolete | |
| |
| |
Extension modules | |
| |
| |
Module Index | |
| |
| |
About this document... | |