Python Modules On PWF Linux: Name Description
Python Modules On PWF Linux: Name Description
This is an non-exhaustive list of Python modules on PWF Linux. Most are standard modules for the
version of Python we run (2.6) and would be found on any similar Python installation. Those that have
been installed specially for PWF Linux are marked with an asterisk.
An alphabetic list of every module shipped with Python can be found at
http://docs.python.org/modindex.html
though the quality of the documentation varies wildly.
Please note that these modules are not in alphabetic order, but grouped thematically. This is not meant
to be a reference for you to look up what a module does (use the URL above for that) but rather a
quick skim read to see what there is.
Name
* Description
os
sys
platform
subprocess
call external commands and get access to their standard input, standard output,
standard error and return code (available in Python 2.4 and later; see the course
Python: Operating System Access for details)
tempfile
securely generate temporary files and directories (see the course Python:
Further Topics for details)
getopt
math
cmath
random
numpy
scipy
re
regular expressions (see the course Python: Regular Expressions for details)
csv
base64
encoding and decoding for Base64 encoded data, a format commonly used to
transfer data files in email
binhex
uu
encoding and decoding files in uuencode format, allowing arbitrary binary data
to be transferred over ASCII-only connections
Name
* Description
pickle
cPickle
Gnuplot
ploticus
matplotlib
Image
* Main module of the Python Imaging Library (PIL). PIL provides fairly
powerful image processing capabilities and supports a large number of image
file formats. For more details on PIL, see:
http://www.pythonware.com/products/pil/index.htm
sqlite3
modules for interfacing to a simple SQL database built around local files
(shipped with Python 2.5 and later)
anydbm
bz2
gzip
interface for the zlib compression library for reading and writing gzip files
zlib
zipfile
unittest