Next:
1. Introduction
Up:
Python Library Reference
Previous:
Python Library Reference
Contents
Contents
1. Introduction
2. Built-in Types, Exceptions and Functions
2.1 Built-in Types
2.1.1 Truth Value Testing
2.1.2 Boolean Operations
2.1.3 Comparisons
2.1.4 Numeric Types
2.1.5 Sequence Types
2.1.6 Mapping Types
2.1.7 Other Built-in Types
2.1.8 Special Attributes
2.2 Built-in Exceptions
2.3 Built-in Functions
3. Python Services
3.1 Built-in Module
sys
3.2 Standard Module
types
3.3 Standard Module
UserDict
3.4 Standard Module
UserList
3.5 Built-in Module
operator
3.6 Standard Module
traceback
3.7 Standard Module
pickle
3.8 Built-in Module
cPickle
3.9 Standard Module
copy_reg
3.10 Standard Module
shelve
3.11 Standard Module
copy
3.12 Built-in Module
marshal
3.13 Built-in Module
imp
3.13.1 Examples
3.14 Built-in Module
parser
3.14.1 Creating AST Objects
3.14.2 Converting AST Objects
3.14.3 Queries on AST Objects
3.14.4 Exceptions and Error Handling
3.14.5 AST Objects
3.14.6 Examples
3.15 Standard Module
symbol
3.16 Standard Module
token
3.17 Standard Module
keyword
3.18 Standard Module
code
3.19 Standard Module
pprint
3.19.1 PrettyPrinter Objects
3.20 Standard Module
dis
3.20.1 Python Byte Code Instructions
3.21 Standard Module
site
3.22 Standard Module
user
3.23 Built-in Module
__builtin__
3.24 Built-in Module
__main__
4. String Services
4.1 Standard Module
string
4.2 Built-in Module
re
4.2.1 Regular Expression Syntax
4.2.2 Module Contents
4.2.3 Regular Expression Objects
4.2.4 Match Objects
4.3 Built-in Module
regex
4.3.1 Regular Expressions
4.3.2 Module Contents
4.4 Standard Module
regsub
4.5 Built-in Module
struct
4.6 Standard Module
StringIO
4.7 Built-in Module
cStringIO
5. Miscellaneous Services
5.1 Built-in Module
math
5.2 Built-in Module
cmath
5.3 Standard Module
whrandom
5.4 Standard Module
random
5.5 Built-in Module
array
5.6 Standard Module
fileinput
6. Generic Operating System Services
6.1 Standard Module
os
6.2 Built-in Module
time
6.3 Standard Module
getopt
6.4 Standard Module
tempfile
6.5 Standard Module
errno
6.6 Standard Module
glob
6.7 Standard Module
fnmatch
6.8 Standard Module
locale
6.8.1 Background, details, hints, tips and caveats
6.8.2 For extension writers and programs that embed Python
7. Optional Operating System Services
7.1 Built-in Module
signal
7.2 Built-in Module
socket
7.2.1 Socket Objects
7.2.2 Example
7.3 Built-in Module
select
7.4 Built-in Module
thread
7.5 Standard Module
Queue
7.5.1 Queue Objects
7.6 Standard Module
anydbm
7.7 Standard Module
dumbdbm
7.8 Standard Module
whichdb
7.9 Built-in Module
zlib
7.10 Standard Module
gzip
8. Unix Specific Services
8.1 Built-in Module
posix
8.2 Standard Module
posixpath
8.3 Built-in Module
pwd
8.4 Built-in Module
grp
8.5 Built-in Module
crypt
8.6 Built-in Module
dbm
8.7 Built-in Module
gdbm
8.8 Built-in Module
termios
8.8.1 Example
8.9 Standard Module
TERMIOS
8.10 Built-in Module
fcntl
8.11 Standard Module
posixfile
8.12 Built-in Module
resource
8.12.1 Resource Limits
8.12.2 Resource Usage
8.13 Built-in Module
syslog
8.14 Standard Module
stat
8.15 Standard Module
commands
9. The Python Debugger
9.1 Debugger Commands
9.2 How It Works
10. The Python Profiler
10.1 Introduction to the profiler
10.2 How Is This Profiler Different From The Old Profiler?
10.3 Instant Users Manual
10.4 What Is Deterministic Profiling?
10.5 Reference Manual
10.5.1 The
Stats
Class
10.6 Limitations
10.7 Calibration
10.8 Extensions -- Deriving Better Profilers
10.8.1 OldProfile Class
10.8.2 HotProfile Class
11. Internet and WWW Services
11.1 Standard Module
cgi
11.1.1 Introduction
11.1.2 Using the cgi module
11.1.3 Old classes
11.1.4 Functions
11.1.5 Caring about security
11.1.6 Installing your CGI script on a Unix system
11.1.7 Testing your CGI script
11.1.8 Debugging CGI scripts
11.1.9 Common problems and solutions
11.2 Standard Module
urllib
11.3 Standard Module
httplib
11.3.1 HTTP Objects
11.3.2 Example
11.4 Standard Module
ftplib
11.4.1 FTP Objects
11.5 Standard Module
gopherlib
11.6 Standard Module
imaplib
11.6.1 IMAP4 Objects
11.6.2 IMAP4 Example
11.7 Standard Module
nntplib
11.7.1 NNTP Objects
11.8 Standard Module
urlparse
11.9 Standard Module
sgmllib
11.10 Standard Module
htmllib
11.11 Standard Module
xmllib
11.12 Standard Module
formatter
11.12.1 The Formatter Interface
11.12.2 Formatter Implementations
11.12.3 The Writer Interface
11.12.4 Writer Implementations
11.13 Standard Module
rfc822
11.13.1 Message Objects
11.14 Standard Module
mimetools
11.14.1 Additional Methods of Message objects
11.15 Standard Module
binhex
11.15.1 Notes
11.16 Standard Module
uu
11.17 Built-in Module
binascii
11.18 Standard Module
xdrlib
11.18.1 Packer Objects
11.18.2 Unpacker Objects
11.18.3 Exceptions
11.19 Standard Module
mailcap
11.20 Standard Module
base64
11.21 Standard Module
quopri
11.22 Standard Module
SocketServer
11.23 Standard Module
mailbox
11.23.1 Mailbox Objects
11.24 Standard Module
mimify
11.25 Standard Module
BaseHTTPServer
12. Restricted Execution
12.1 Standard Module
rexec
12.1.1 An example
12.2 Standard Module
Bastion
13. Multimedia Services
13.1 Built-in Module
audioop
13.2 Built-in Module
imageop
13.3 Standard Module
aifc
13.4 Built-in Module
jpeg
13.5 Built-in Module
rgbimg
13.6 Standard Module
imghdr
14. Cryptographic Services
14.1 Built-in Module
md5
14.2 Built-in Module
mpz
14.3 Built-in Module
rotor
15. SGI IRIX Specific Services
15.1 Built-in Module
al
15.1.1 Configuration Objects
15.1.2 Port Objects
15.2 Standard Module
AL
15.3 Built-in Module
cd
15.3.1 Player Objects
15.3.2 Parser Objects
15.4 Built-in Module
fl
15.4.1 Functions Defined in Module
fl
15.4.2 Form Objects
15.4.3 FORMS Objects
15.5 Standard Module
FL
15.6 Standard Module
flp
15.7 Built-in Module
fm
15.8 Built-in Module
gl
15.9 Standard Modules
GL
and
DEVICE
15.10 Built-in Module
imgfile
16. SunOS Specific Services
16.1 Built-in Module
sunaudiodev
16.1.1 Audio Device Objects
17. Undocumented Modules
17.1 Frameworks; somewhat harder to document, but well worth the effort
17.2 Stuff useful to a lot of people, including the CGI crowd
17.3 Miscellaneous useful utilities
17.4 Parsing Python
17.5 Platform specific modules
17.6 Code objects and files, debugger etc.
17.7 Multimedia
17.8 Oddities
17.9 Obsolete
17.10 Extension modules
Module Index
Index
guido@python.org