This is Info file /home/pdm/tmp/Python-1.5.2p1/Doc/lib/python-lib.info,
produced by Makeinfo version 1.68 from the input file lib.texi.

   July 6, 1999			1.5.2


File: python-lib.info,  Node: gl,  Next: DEVICE,  Prev: fm,  Up: SGI IRIX Specific Services

*Graphics Library* interface
============================

   Functions from the Silicon Graphics *Graphics Library*.

   This module provides access to the Silicon Graphics *Graphics
Library*.  It is available only on Silicon Graphics machines.

   *Warning:* Some illegal calls to the GL library cause the Python
interpreter to dump core.  In particular, the use of most GL calls is
unsafe before the first window is opened.

   The module is too large to document here in its entirety, but the
following should help you to get started.  The parameter conventions
for the C functions are translated to Python as follows:

   * All (short, long, unsigned) int values are represented by Python
     integers.

   * All float and double values are represented by Python floating
     point numbers.  In most cases, Python integers are also allowed.

   * All arrays are represented by one-dimensional Python lists.  In
     most cases, tuples are also allowed.

   * All string and character arguments are represented by Python
     strings, for instance, `winopen('Hi There!')'  and `rotate(900,
     'z')'.

   * All (short, long, unsigned) integer arguments or return values
     that are only used to specify the length of an array argument are
     omitted.  For example, the C call

          lmdef(deftype, index, np, props)

     is translated to Python as

          lmdef(deftype, index, props)

   * Output arguments are omitted from the argument list; they are
     transmitted as function return values instead.  If more than one
     value must be returned, the return value is a tuple.  If the C
     function has both a regular return value (that is not omitted
     because of the previous rule) and an output argument, the return
     value comes first in the tuple.  Examples: the C call

          getmcolor(i, &red, &green, &blue)

     is translated to Python as

          red, green, blue = getmcolor(i)

   The following functions are non-standard or have special argument
conventions:

`varray(argument)'
     Equivalent to but faster than a number of `v3d()' calls.  The
     ARGUMENT is a list (or tuple) of points.  Each point must be a
     tuple of coordinates `(X, Y, Z)' or `(X, Y)'.  The points may be
     2- or 3-dimensional but must all have the same dimension.  Float
     and int values may be mixed however.  The points are always
     converted to 3D double precision points by assuming `Z = 0.0' if
     necessary (as indicated in the man page), and for each point
     `v3d()' is called.

`nvarray()'
     Equivalent to but faster than a number of `n3f' and `v3f' calls.
     The argument is an array (list or tuple) of pairs of normals and
     points.  Each pair is a tuple of a point and a normal for that
     point.  Each point or normal must be a tuple of coordinates `(X,
     Y, Z)'.  Three coordinates must be given.  Float and int values
     may be mixed.  For each pair, `n3f()' is called for the normal,
     and then `v3f()' is called for the point.

`vnarray()'
     Similar to `nvarray()' but the pairs have the point first and the
     normal second.

`nurbssurface(s_k, t_k, ctl, s_ord, t_ord, type)'
     Defines a nurbs surface.  The dimensions of `CTL[][]' are computed
     as follows: `[len(S_K) - S_ORD]', `[len(T_K) - T_ORD]'.

`nurbscurve(knots, ctlpoints, order, type)'
     Defines a nurbs curve.  The length of ctlpoints is `len(KNOTS) -
     ORDER'.

`pwlcurve(points, type)'
     Defines a piecewise-linear curve.  POINTS is a list of points.
     TYPE must be `N_ST'.

`pick(n)'

`select n'
     The only argument to these functions specifies the desired size of
     the pick or select buffer.

`endpick()'

`endselect'
     These functions have no arguments.  They return a list of integers
     representing the used part of the pick/select buffer.  No method
     is provided to detect buffer overrun.

   Here is a tiny but complete example GL program in Python:

     import gl, GL, time
     
     def main():
         gl.foreground()
         gl.prefposition(500, 900, 500, 900)
         w = gl.winopen('CrissCross')
         gl.ortho2(0.0, 400.0, 0.0, 400.0)
         gl.color(GL.WHITE)
         gl.clear()
         gl.color(GL.RED)
         gl.bgnline()
         gl.v2f(0.0, 0.0)
         gl.v2f(400.0, 400.0)
         gl.endline()
         gl.bgnline()
         gl.v2f(400.0, 0.0)
         gl.v2f(0.0, 400.0)
         gl.endline()
         time.sleep(5)
     
     main()

   See also:

   An interface to OpenGL is also available; see information about
David Ascher's *PyOpenGL* online at
`http://starship.python.net/crew/da/PyOpenGL/'.  This may be a better
option if support for SGI hardware from before about 1996 is not
required.


File: python-lib.info,  Node: DEVICE,  Next: GL,  Prev: gl,  Up: SGI IRIX Specific Services

Constants used with the `gl' module
===================================

   Constants used with the `gl' module.

   This modules defines the constants used by the Silicon Graphics
*Graphics Library* that C programmers find in the header file
`<gl/device.h>'.  Read the module source file for details.


File: python-lib.info,  Node: GL,  Next: imgfile,  Prev: DEVICE,  Up: SGI IRIX Specific Services

Constants used with the `gl' module
===================================

   Constants used with the `gl' module.

   This module contains constants used by the Silicon Graphics
*Graphics Library* from the C header file `<gl/gl.h>'.  Read the module
source file for details.


File: python-lib.info,  Node: imgfile,  Next: jpeg,  Prev: GL,  Up: SGI IRIX Specific Services

Support for SGI imglib files
============================

   Support for SGI imglib files.

   The `imgfile' module allows Python programs to access SGI imglib
image files (also known as `.rgb' files).  The module is far from
complete, but is provided anyway since the functionality that there is
is enough in some cases.  Currently, colormap files are not supported.

   The module defines the following variables and functions:

`error'
     This exception is raised on all errors, such as unsupported file
     type, etc.

`getsizes(file)'
     This function returns a tuple `(X, Y, Z)' where X and Y are the
     size of the image in pixels and Z is the number of bytes per
     pixel. Only 3 byte RGB pixels and 1 byte greyscale pixels are
     currently supported.

`read(file)'
     This function reads and decodes the image on the specified file,
     and returns it as a Python string. The string has either 1 byte
     greyscale pixels or 4 byte RGBA pixels. The bottom left pixel is
     the first in the string. This format is suitable to pass to
     `gl.lrectwrite()', for instance.

`readscaled(file, x, y, filter[, blur])'
     This function is identical to read but it returns an image that is
     scaled to the given X and Y sizes. If the FILTER and BLUR
     parameters are omitted scaling is done by simply dropping or
     duplicating pixels, so the result will be less than perfect,
     especially for computer-generated images.

     Alternatively, you can specify a filter to use to smoothen the
     image after scaling. The filter forms supported are `'impulse'',
     `'box'', `'triangle'', `'quadratic'' and `'gaussian''. If a filter
     is specified BLUR is an optional parameter specifying the
     blurriness of the filter. It defaults to `1.0'.

     `readscaled()' makes no attempt to keep the aspect ratio correct,
     so that is the users' responsibility.

`ttob(flag)'
     This function sets a global flag which defines whether the scan
     lines of the image are read or written from bottom to top (flag is
     zero, compatible with SGI GL) or from top to bottom(flag is one,
     compatible with X).  The default is zero.

`write(file, data, x, y, z)'
     This function writes the RGB or greyscale data in DATA to image
     file FILE. X and Y give the size of the image, Z is 1 for 1 byte
     greyscale images or 3 for RGB images (which are stored as 4 byte
     values of which only the lower three bytes are used).  These are
     the formats returned by `gl.lrectread()'.


File: python-lib.info,  Node: jpeg,  Prev: imgfile,  Up: SGI IRIX Specific Services

Read and write JPEG files
=========================

   Read and write image files in compressed JPEG format.

   The module `jpeg' provides access to the jpeg compressor and
decompressor written by the Independent JPEG Group (IJG). JPEG is a
standard for compressing pictures; it is defined in ISO 10918.  For
details on JPEG or the Independent JPEG Group software refer to the
JPEG standard or the documentation provided with the software.

   A portable interface to JPEG image files is available with the Python
Imaging Library (PIL) by Fredrik Lundh.  Information on PIL is
available at `http://www.pythonware.com/products/pil/'.

   The `jpeg' module defines an exception and some functions.

`error'
     Exception raised by `compress()' and `decompress()' in case of
     errors.

`compress(data, w, h, b)'
     Treat data as a pixmap of width W and height H, with B bytes per
     pixel.  The data is in SGI GL order, so the first pixel is in the
     lower-left corner. This means that `gl.lrectread()' return data
     can immediately be passed to `compress()'.  Currently only 1 byte
     and 4 byte pixels are allowed, the former being treated as
     greyscale and the latter as RGB color.  `compress()' returns a
     string that contains the compressed picture, in JFIF format.

`decompress(data)'
     Data is a string containing a picture in JFIF format. It returns a
     tuple `(DATA, WIDTH, HEIGHT, BYTESPERPIXEL)'.  Again, the data is
     suitable to pass to `gl.lrectwrite()'.

`setoption(name, value)'
     Set various options.  Subsequent `compress()' and `decompress()'
     calls will use these options.  The following options are available:

     Option                             Effect                             
     ------                             -----                              
     'forcegray'                        Force output to be grayscale,      
                                        even if input is RGB.              
     'quality'                          Set the quality of the compressed  
                                        image to a value between `0' and   
                                        `100' (default is `75').  This     
                                        only affects compression.          
     'optimize'                         Perform Huffman table              
                                        optimization.  Takes longer, but   
                                        results in smaller compressed      
                                        image.  This only affects          
                                        compression.                       
     'smooth'                           Perform inter-block smoothing on   
                                        uncompressed image.  Only useful   
                                        for low-quality images.  This      
                                        only affects decompression.        

   See also:

   *JPEG Still Image Data Compression Standard*, by Pennebaker and
Mitchell, is the canonical reference for the JPEG image format.

   The ISO standard for JPEG is also published as ITU T.81. This is
available in PDF form at `http://www.w3.org/Graphics/JPEG/itu-t81.pdf'.


File: python-lib.info,  Node: SunOS Specific Services,  Next: MS Windows Specific Services,  Prev: SGI IRIX Specific Services,  Up: Top

SunOS Specific Services
***********************

   The modules described in this chapter provide interfaces to features
that are unique to the SunOS operating system (versions 4 and 5; the
latter is also known as Solaris version 2).

* Menu:

* sunaudiodev::
* SUNAUDIODEV::


File: python-lib.info,  Node: sunaudiodev,  Next: SUNAUDIODEV,  Prev: SunOS Specific Services,  Up: SunOS Specific Services

Access to Sun audio hardware
============================

   Access to Sun audio hardware.

   This module allows you to access the Sun audio interface. The Sun
audio hardware is capable of recording and playing back audio data in
u-LAW format with a sample rate of 8K per second. A full description
can be found in the `audio(7I)' manual page.

   The module `SUNAUDIODEV'defines constants which may be used with
this module.

   This module defines the following variables and functions:

`error'
     This exception is raised on all errors. The argument is a string
     describing what went wrong.

`open(mode)'
     This function opens the audio device and returns a Sun audio device
     object. This object can then be used to do I/O on. The MODE
     parameter is one of `'r'' for record-only access, `'w'' for
     play-only access, `'rw'' for both and `'control'' for access to the
     control device. Since only one process is allowed to have the
     recorder or player open at the same time it is a good idea to open
     the device only for the activity needed. See `audio(7I)' for
     details.

     As per the manpage, this module first looks in the environment
     variable `AUDIODEV' for the base audio device filename.  If not
     found, it falls back to `/dev/audio'.  The control device is
     calculated by appending "ctl" to the base audio device.

* Menu:

* Audio Device Objects::


File: python-lib.info,  Node: Audio Device Objects,  Prev: sunaudiodev,  Up: sunaudiodev

Audio Device Objects
--------------------

   The audio device objects are returned by `open()' define the
following methods (except `control' objects which only provide
`getinfo()', `setinfo()', `fileno()', and `drain()'):

`close()'
     This method explicitly closes the device. It is useful in
     situations where deleting the object does not immediately close it
     since there are other references to it. A closed device should not
     be used again.

`fileno()'
     Returns the file descriptor associated with the device.  This can
     be used to set up `SIGPOLL' notification, as described below.

`drain()'
     This method waits until all pending output is processed and then
     returns.  Calling this method is often not necessary: destroying
     the object will automatically close the audio device and this will
     do an implicit drain.

`flush()'
     This method discards all pending output. It can be used avoid the
     slow response to a user's stop request (due to buffering of up to
     one second of sound).

`getinfo()'
     This method retrieves status information like input and output
     volume, etc. and returns it in the form of an audio status object.
     This object has no methods but it contains a number of attributes
     describing the current device status. The names and meanings of
     the attributes are described in `<sun/audioio.h>' and in the
     `audio(7I)' manual page.  Member names are slightly different from
     their C counterparts: a status object is only a single structure.
     Members of the `play' substructure have `o_' prepended to their
     name and members of the `record' structure have `i_'. So, the C
     member `play.sample_rate' is accessed as `o_sample_rate',
     `record.gain' as `i_gain' and `monitor_gain' plainly as
     `monitor_gain'.

`ibufcount()'
     This method returns the number of samples that are buffered on the
     recording side, i.e. the program will not block on a `read()' call
     of so many samples.

`obufcount()'
     This method returns the number of samples buffered on the playback
     side. Unfortunately, this number cannot be used to determine a
     number of samples that can be written without blocking since the
     kernel output queue length seems to be variable.

`read(size)'
     This method reads SIZE samples from the audio input and returns
     them as a Python string. The function blocks until enough data is
     available.

`setinfo(status)'
     This method sets the audio device status parameters. The STATUS
     parameter is an device status object as returned by `getinfo()' and
     possibly modified by the program.

`write(samples)'
     Write is passed a Python string containing audio samples to be
     played.  If there is enough buffer space free it will immediately
     return, otherwise it will block.

   The audio device supports asynchronous notification of various
events, through the SIGPOLL signal.  Here's an example of how you might
enable this in Python:

     def handle_sigpoll(signum, frame):
         print 'I got a SIGPOLL update'
     
     import fcntl, signal, STROPTS
     
     signal.signal(signal.SIGPOLL, handle_sigpoll)
     fcntl.ioctl(audio_obj.fileno(), STROPTS.I_SETSIG, STROPTS.S_MSG)


File: python-lib.info,  Node: SUNAUDIODEV,  Prev: sunaudiodev,  Up: SunOS Specific Services

Constants used with `sunaudiodev'
=================================

   Constants for use with `sunaudiodev'.

   This is a companion module to `sunaudiodev' which defines useful
symbolic constants like `MIN_GAIN', `MAX_GAIN', `SPEAKER', etc. The
names of the constants are the same names as used in the C include file
`<sun/audioio.h>', with the leading string `AUDIO_' stripped.


File: python-lib.info,  Node: MS Windows Specific Services,  Next: Undocumented Modules,  Prev: SunOS Specific Services,  Up: Top

MS Windows Specific Services
****************************

   This chapter describes modules that are only available on MS Windows
platforms.

* Menu:

* msvcrt - Useful routines from the MS VC++ runtime::
* winsound::


File: python-lib.info,  Node: msvcrt - Useful routines from the MS VC++ runtime,  Next: winsound,  Prev: MS Windows Specific Services,  Up: MS Windows Specific Services

`msvcrt' - Useful routines from the MS VC++ runtime
===================================================

   Miscellaneous useful routines from the MS VC++ runtime.

   This section was written by Fred L. Drake, Jr. <fdrake@acm.org>.
These functions provide access to some useful capabilities on Windows
platforms.  Some higher-level modules use these functions to build the
Windows implementations of their services.  For example, the `getpass'
module uses this in the implementation of the `getpass()' function.

   Further documentation on these functions can be found in the Platform
API documentation.

* Menu:

* File Operations::
* Console I/O::
* Other Functions::


File: python-lib.info,  Node: File Operations,  Next: Console I/O,  Prev: msvcrt - Useful routines from the MS VC++ runtime,  Up: msvcrt - Useful routines from the MS VC++ runtime

File Operations
---------------

`locking(fd, mode, nbytes)'
     Lock part of a file based on a file descriptor from the C runtime.
     Raises `IOError' on failure.

`setmode(fd, flags)'
     Set the line-end translation mode for the file descriptor FD.  To
     set it to text mode, FLAGS should be `os.O_TEXT'; for binary, it
     should be `os.O_BINARY'.

`open_osfhandle(handle, flags)'
     Create a C runtime file descriptor from the file handle HANDLE.
     The FLAGS parameter should be a bit-wise OR of `os.O_APPEND',
     `os.O_RDONLY', and `os.O_TEXT'.  The returned file descriptor may
     be used as a parameter to `os.fdopen()' to create a file object.

`get_osfhandle(fd)'
     Return the file handle for the file descriptor FD.  Raises
     `IOError' if FD is not recognized.


File: python-lib.info,  Node: Console I/O,  Next: Other Functions,  Prev: File Operations,  Up: msvcrt - Useful routines from the MS VC++ runtime

Console I/O
-----------

`kbhit()'
     Return true if a keypress is waiting to be read.

`getch()'
     Read a keypress and return the resulting character.  Nothing is
     echoed to the console.  This call will block if a keypress is not
     already available, but will not wait for <Enter> to be pressed.
     If the pressed key was a special function key, this will return
     `'\000'' or `'\xe0''; the next call will return the keycode.  The
     <Control-C> keypress cannot be read with this function.

`getche()'
     Similar to `getch()', but the keypress will be echoed if it
     represents a printable character.

`putch(char)'
     Print the character CHAR to the console without buffering.

`ungetch(char)'
     Cause the character CHAR to be "pushed back" into the console
     buffer; it will be the next character read by `getch()' or
     `getche()'.


File: python-lib.info,  Node: Other Functions,  Prev: Console I/O,  Up: msvcrt - Useful routines from the MS VC++ runtime

Other Functions
---------------

`heapmin()'
     Force the `malloc()' heap to clean itself up and return unused
     blocks to the operating system.  This only works on Windows NT.
     On failure, this raises `IOError'.


File: python-lib.info,  Node: winsound,  Prev: msvcrt - Useful routines from the MS VC++ runtime,  Up: MS Windows Specific Services

Sound-playing interface for Windows
===================================

   Access to the sound-playing machinery for Windows.  This module was
documented by Toby Dickenson <htrd90@zepler.org>.
This section was written by Fred L. Drake, Jr. <fdrake@acm.org>.
*Added in Python version 1.5.2*

   The `winsound' module provides access to the basic sound-playing
machinery provided by Windows platforms.  It includes a single function
and several constants.

`PlaySound(sound, flags)'
     Call the underlying `PlaySound()' function from the Platform API.
     The SOUND parameter may be a filename, audio data as a string, or
     `None'.  Its interpretation depends on the value of FLAGS, which
     can be a bit-wise ORed combination of the constants described
     below.  If the system indicates an error, `RuntimeError' is raised.

`SND_FILENAME'
     The SOUND parameter is the name of a WAV file.

`SND_ALIAS'
     The SOUND parameter should be interpreted as a control panel sound
     association name.

`SND_LOOP'
     Play the sound repeatedly.  The `SND_ASYNC' flag must also be used
     to avoid blocking.

`SND_MEMORY'
     The SOUND parameter to `PlaySound()' is a memory image of a WAV
     file.

     *Note:*  This module does not support playing from a memory image
     asynchonously, so a combination of this flag and `SND_ASYNC' will
     raise a `RuntimeError'.

`SND_PURGE'
     Stop playing all instances of the specified sound.

`SND_ASYNC'
     Return immediately, allowing sounds to play asynchronously.

`SND_NODEFAULT'
     If the specified sound cannot be found, do not play a default beep.

`SND_NOSTOP'
     Do not interrupt sounds currently playing.

`SND_NOWAIT'
     Return immediately if the sound driver is busy.


File: python-lib.info,  Node: Undocumented Modules,  Next: Module Index,  Prev: MS Windows Specific Services,  Up: Top

Undocumented Modules
********************

   Here's a quick listing of modules that are currently undocumented,
but that should be documented.  Feel free to contribute documentation
for them!  (The idea and original contents for this chapter were taken
from a posting by Fredrik Lundh; I have revised some modules' status.)

* Menu:

* Frameworks::
* Miscellaneous useful utilities::
* Platform specific modules::
* Multimedia::
* Obsolete::
* Extension modules::


File: python-lib.info,  Node: Frameworks,  Next: Miscellaneous useful utilities,  Prev: Undocumented Modules,  Up: Undocumented Modules

Frameworks
==========

   Frameworks tend to be harder to document, but are well worth the
effort spent.

``Tkinter''
     -- Interface to Tcl/Tk for graphical user interfaces; Fredrik
     Lundh is working on this one!  See *An Introduction to Tkinter* at
     `http://www.pythonware.com/library/' for on-line reference
     material.

``Tkdnd''
     -- Drag-and-drop support for `Tkinter'.

``test''
     -- Regression testing framework.  This is used for the Python
     regression test, but is useful for other Python libraries as well.
     This is a package rather than a module.


File: python-lib.info,  Node: Miscellaneous useful utilities,  Next: Platform specific modules,  Prev: Frameworks,  Up: Undocumented Modules

Miscellaneous useful utilities
==============================

   Some of these are very old and/or not very robust; marked with "hmm."

``dircmp''
     -- class to build directory diff tools on (may become a demo or
     tool)

``bdb''
     -- A generic Python debugger base class (used by pdb)

``ihooks''
     -- Import hook support (for `rexec'; may become obsolete)

``tzparse''
     -- Parse a timezone specification (unfinished; may disappear in the
     future)


File: python-lib.info,  Node: Platform specific modules,  Next: Multimedia,  Prev: Miscellaneous useful utilities,  Up: Undocumented Modules

Platform specific modules
=========================

   These modules are used to implement the `os.path' module, and are
not documented beyond this mention.  There's little need to document
these.

``dospath''
     -- implementation of `os.path' on MS-DOS

``ntpath''
     -- implementation on `os.path' on 32-bit Windows

``posixpath''
     -- implementation on `os.path' on POSIX


File: python-lib.info,  Node: Multimedia,  Next: Obsolete,  Prev: Platform specific modules,  Up: Undocumented Modules

Multimedia
==========

``audiodev''
     -- Platform-independent API for playing audio data

``sunaudio''
     -- interpret sun audio headers (may become obsolete or a tool/demo)

``toaiff''
     -- Convert "arbitrary" sound files to AIFF files; should probably
     become a tool or demo.  Requires the external program `sox'.


File: python-lib.info,  Node: Obsolete,  Next: Extension modules,  Prev: Multimedia,  Up: Undocumented Modules

Obsolete
========

   These modules are not on the standard module search path; but are
available in the directory `lib-old/' installed  under
`$prefix/lib/python1.5/'. To use any of these modules, add that
directory to `sys.path', possibly using `PYTHONPATH'.

``newdir''
     -- New `dir()' function (the standard `dir()' is now just as good)

``addpack''
     -- alternate approach to packages

``codehack''
     -- Extract function name or line number from a function code
     object (these are now accessible as attributes: `co.co_name',
     `func.func_name', `co.co_firstlineno').

``dump''
     -- Print python code that reconstructs a variable

``fmt''
     -- text formatting abstractions (too slow)

``Para''
     -- helper for fmt.py

``lockfile''
     -- wrapper around FCNTL file locking (use
     `fcntl.lockf()'/`flock()' intead; see `fcntl')

``poly''
     -- Polynomials

``tb''
     -- Print tracebacks, with a dump of local variables (use
     `pdb.pm()' or `traceback' instead)

``timing''
     -- Measure time intervals to high resolution (use `time.clock()'
     instead).  (This is an extension module.)

``util''
     -- Useful functions that don't fit elsewhere.

``wdb''
     -- A primitive windowing debugger based on STDWIN.

``whatsound''
     -- Recognize sound files; use `sndhdr' instead.

``zmod''
     -- Compute properties of mathematical "fields"

   The following modules are obsolete, but are likely re-surface as
tools or scripts.

``find''
     -- find files matching pattern in directory tree

``grep''
     -- grep

``packmail''
     -- create a self-unpacking UNIX shell archive

   The following modules were documented in previous versions of this
manual, but are now considered obsolete.  The source for the
documentation is still available as part of the documentation source
archive.

``ni''
     -- Import modules in "packages."  Basic package support is now
     built in.

``rand''
     -- Old interface to the random number generator.

``soundex''
     -- Algorithm for collapsing names which sound similar to a shared
     key.  (This is an extension module.)


File: python-lib.info,  Node: Extension modules,  Prev: Obsolete,  Up: Undocumented Modules

Extension modules
=================

``stdwin''
     -- Interface to STDWIN (an old, unsupported platform-independent
     GUI package).  Obsolete; use `Tkinter' for a platform-independent
     GUI instead.

   The following are SGI specific, and may be out of touch with the
current version of reality.

``cl''
     -- Interface to the SGI compression library.

``sv''
     -- Interface to the "simple video" board on SGI Indigo (obsolete
     hardware).


File: python-lib.info,  Node: Module Index,  Next: Class-Exception-Object Index,  Prev: Undocumented Modules,  Up: Top

Module Index
************

* Menu:

* _locale:                               locale.
* AL:                                    al.
* bdb:                                   Python Debugger.
* binhex:                                binascii.
* bsddb <1>:                             dbhash.
* bsddb:                                 anydbm.
* CGIHTTPServer:                         BaseHTTPServer.
* cmd:                                   Python Debugger.
* copy <1>:                              copy_reg.
* copy:                                  pickle.
* cPickle <1>:                           copy_reg.
* cPickle:                               pickle.
* dbhash:                                anydbm.
* dbm <1>:                               gdbm.
* dbm <2>:                               anydbm.
* dbm:                                   shelve.
* dumbdbm:                               anydbm.
* errno <1>:                             socket.
* errno:                                 os.
* FCNTL:                                 fcntl.
* fcntl:                                 File Objectsfile.
* formatter:                             htmllib.
* gdbm <1>:                              dbm.
* gdbm <2>:                              anydbm.
* gdbm:                                  shelve.
* glob:                                  fnmatch.
* htmllib <1>:                           sgmllib.
* htmllib:                               urllib.
* ihooks:                                Built-in Functions.
* imp:                                   Built-in Functions.
* IOCTL:                                 fcntl.
* knee:                                  Examples.
* mailbox:                               rfc822.
* marshal:                               pickle.
* math <1>:                              cmath.
* math:                                  Numeric Types.
* mimetools <1>:                         HTTP Objects.
* mimetools:                             urllib.
* os <1>:                                posix.
* os:                                    sys.
* pdb:                                   sys.
* pickle <1>:                            marshal.
* pickle <2>:                            copy.
* pickle <3>:                            shelve.
* pickle <4>:                            copy_reg.
* pickle:                                cPickle.
* posix:                                 File Objectsfile.
* pstats:                                Reference Manual.
* pwd:                                   os.path.
* re <1>:                                fnmatch.
* re <2>:                                regex.
* re <3>:                                string.
* re:                                    More String Operations.
* reconvert:                             regex.
* regex_syntax:                          Contents of Module regex.
* rexec:                                 Built-in Functions.
* sgmllib:                               htmllib.
* shelve <1>:                            marshal.
* shelve:                                pickle.
* signal:                                thread.
* SimpleHTTPServer:                      BaseHTTPServer.
* site:                                  user.
* sitecustomize:                         site.
* socket <1>:                            Internet Protocols and Support.
* socket:                                File Objectsfile.
* stat:                                  Files and Directories.
* statvfs:                               Files and Directories.
* stdwin <1>:                            Python Debugger.
* stdwin:                                select.
* string <1>:                            Background.
* string <2>:                            locale.
* string:                                More String Operations.
* strop <1>:                             Background.
* strop:                                 string.
* struct:                                Socket Objects.
* sunaudiodev:                           SUNAUDIODEV.
* SUNAUDIODEV:                           sunaudiodev.
* termios:                               TERMIOS.
* TERMIOS:                               termios.
* types <1>:                             Built-in Functions.
* types:                                 Type Objects.
* urllib:                                httplib.
* urlparse:                              urllib.
* uu:                                    binascii.
* wdb:                                   Python Debugger.


File: python-lib.info,  Node: Class-Exception-Object Index,  Next: Function-Method-Variable Index,  Prev: Module Index,  Up: Top

Class, Exception, and Object Index
**********************************

* Menu:

* AbstractFormatter:                     Formatter Implementations.
* AbstractWriter:                        Writer Implementations.
* AddressList:                           rfc822.
* ArithmeticError:                       Built-in Exceptions.
* AssertionError:                        Built-in Exceptions.
* AttributeError:                        Built-in Exceptions.
* BabylMailbox:                          mailbox.
* BaseHTTPRequestHandler:                BaseHTTPServer.
* BastionClass:                          Bastion.
* CGIHTTPRequestHandler:                 CGIHTTPServer.
* Chunk:                                 chunk.
* Cmd:                                   cmd.
* code <1>:                              marshal.
* code <2>:                              Code Objects.
* code:                                  Functions.
* Condition:                             Condition Objects.
* ConfigParser:                          ConfigParser.
* ConversionError:                       Exceptions.
* dispatcher:                            asyncore.
* DumbWriter:                            Writer Implementations.
* DuplicateSectionError:                 ConfigParser.
* Empty:                                 Queue.
* EnvironmentError:                      Built-in Exceptions.
* EOFError:                              Built-in Exceptions.
* error <1>:                             sunaudiodev.
* error <2>:                             jpeg.
* error <3>:                             imgfile.
* error <4>:                             cd.
* error:                                 rgbimg.
* Error <1>:                             wave.
* Error:                                 sunau.
* error <1>:                             imageop.
* error:                                 audioop.
* Error <1>:                             Exceptions.
* Error:                                 binascii.
* error <1>:                             nis.
* error <2>:                             resource.
* error <3>:                             gdbm.
* error <4>:                             dbm.
* error <5>:                             dl.
* error <6>:                             zlib.
* error <7>:                             dbhash.
* error <8>:                             dumbdbm.
* error <9>:                             anydbm.
* error <10>:                            thread.
* error <11>:                            select.
* error:                                 socket.
* Error:                                 locale.
* error <1>:                             getopt.
* error <2>:                             Constants and Functions.
* error <3>:                             os.
* error <4>:                             struct.
* error <5>:                             Contents of Module regex.
* error:                                 Contents of Module re.
* error_perm <1>:                        nntplib.
* error_perm:                            ftplib.
* error_proto <1>:                       nntplib.
* error_proto <2>:                       poplib.
* error_proto:                           ftplib.
* error_reply <1>:                       nntplib.
* error_reply:                           ftplib.
* error_temp <1>:                        nntplib.
* error_temp:                            ftplib.
* Event:                                 Event Objects.
* Exception:                             Built-in Exceptions.
* file:                                  File Objectsfile.
* FileInput:                             fileinput.
* FloatingPointError:                    Built-in Exceptions.
* Folder:                                mhlib.
* frame:                                 signal.
* FTP:                                   ftplib.
* Full:                                  Queue.
* GzipFile:                              gzip.
* HTMLParser:                            htmllib.
* HTTP:                                  httplib.
* HTTPServer:                            BaseHTTPServer.
* IMAP4:                                 imaplib.
* IMAP4.abort:                           imaplib.
* IMAP4.error:                           imaplib.
* ImportError:                           Built-in Exceptions.
* Incomplete:                            binascii.
* IndexError:                            Built-in Exceptions.
* InterpolationError:                    ConfigParser.
* IOError:                               Built-in Exceptions.
* KeyboardInterrupt:                     Built-in Exceptions.
* KeyError:                              Built-in Exceptions.
* LookupError:                           Built-in Exceptions.
* Maildir:                               mailbox.
* MemoryError:                           Built-in Exceptions.
* Message <1>:                           mhlib.
* Message <2>:                           mimetools.
* Message:                               rfc822.
* method:                                Methods.
* MH:                                    mhlib.
* MHMailbox:                             mailbox.
* MimeWriter:                            MimeWriter.
* MissingSectionHeaderError:             ConfigParser.
* MmdfMailbox:                           mailbox.
* MultiFile:                             multifile.
* mutex:                                 mutex.
* NameError:                             Built-in Exceptions.
* netrc:                                 netrc.
* NNTP:                                  nntplib.
* NoOptionError:                         ConfigParser.
* NoSectionError:                        ConfigParser.
* NotANumber:                            fpformat.
* NotImplementedError:                   Built-in Exceptions.
* NullFormatter:                         Formatter Implementations.
* NullWriter:                            Writer Implementations.
* OSError:                               Built-in Exceptions.
* OverflowError:                         Built-in Exceptions.
* Packer:                                xdrlib.
* ParserError:                           Exceptions and Error Handling.
* ParsingError:                          ConfigParser.
* PicklingError:                         pickle.
* POP3:                                  poplib.
* Popen3:                                popen2.
* PrettyPrinter:                         pprint.
* Queue:                                 Queue.
* Repr:                                  repr.
* RExec:                                 rexec.
* RuntimeError:                          Built-in Exceptions.
* scheduler:                             sched.
* Semaphore:                             Semaphore Objects.
* SGMLParser:                            sgmllib.
* shlex:                                 shlex.
* SimpleHTTPRequestHandler:              SimpleHTTPServer.
* SMTP:                                  smtplib.
* SMTPConnectError:                      smtplib.
* SMTPDataError:                         smtplib.
* SMTPException:                         smtplib.
* SMTPHeloError:                         smtplib.
* SMTPRecipientsRefused:                 smtplib.
* SMTPResponseException:                 smtplib.
* SMTPSenderRefused:                     smtplib.
* SMTPServerDisconnected:                smtplib.
* socket:                                socket.
* StandardError:                         Built-in Exceptions.
* Stats:                                 Reference Manual.
* StringIO:                              StringIO.
* SyntaxError:                           Built-in Exceptions.
* SystemError:                           Built-in Exceptions.
* SystemExit:                            Built-in Exceptions.
* Telnet:                                telnetlib.
* Template:                              pipes.
* Thread <1>:                            Thread Objects.
* Thread:                                threading.
* traceback <1>:                         traceback.
* traceback:                             sys.
* type:                                  Built-in Functions.
* TypeError:                             Built-in Exceptions.
* UnixMailbox:                           mailbox.
* Unpacker:                              xdrlib.
* UserDict:                              UserDict.
* UserList:                              UserList.
* ValueError:                            Built-in Exceptions.
* XMLParser:                             xmllib.
* ZeroDivisionError:                     Built-in Exceptions.

