2000-09-11 02:23:25 -03:00
|
|
|
\chapter{Undocumented Modules \label{undoc}}
|
1997-03-14 00:12:52 -04:00
|
|
|
|
|
|
|
Here's a quick listing of modules that are currently undocumented, but
|
|
|
|
that should be documented. Feel free to contribute documentation for
|
2003-07-29 23:55:28 -03:00
|
|
|
them! (Send via email to \email{docs@python.org}.)
|
2000-09-11 02:23:25 -03:00
|
|
|
|
|
|
|
The idea and original contents for this chapter were taken
|
|
|
|
from a posting by Fredrik Lundh; the specific contents of this chapter
|
|
|
|
have been substantially revised.
|
1997-03-14 00:12:52 -04:00
|
|
|
|
|
|
|
|
1999-02-24 15:57:14 -04:00
|
|
|
\section{Frameworks}
|
|
|
|
|
|
|
|
Frameworks tend to be harder to document, but are well worth the
|
|
|
|
effort spent.
|
1997-03-14 00:12:52 -04:00
|
|
|
|
1998-04-07 11:15:28 -03:00
|
|
|
\begin{description}
|
2004-08-07 16:21:59 -03:00
|
|
|
\item None at this time.
|
1998-04-07 11:15:28 -03:00
|
|
|
\end{description}
|
1997-03-14 00:12:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
\section{Miscellaneous useful utilities}
|
|
|
|
|
1999-06-23 11:56:13 -03:00
|
|
|
Some of these are very old and/or not very robust; marked with ``hmm.''
|
1997-03-14 00:12:52 -04:00
|
|
|
|
1998-04-07 11:15:28 -03:00
|
|
|
\begin{description}
|
1999-07-01 17:42:57 -03:00
|
|
|
\item[\module{bdb}]
|
2000-09-11 02:23:25 -03:00
|
|
|
--- A generic Python debugger base class (used by pdb).
|
1997-03-14 00:12:52 -04:00
|
|
|
|
1999-07-01 17:42:57 -03:00
|
|
|
\item[\module{ihooks}]
|
2000-09-11 02:23:25 -03:00
|
|
|
--- Import hook support (for \refmodule{rexec}; may become obsolete).
|
1998-04-07 11:15:28 -03:00
|
|
|
\end{description}
|
1997-03-14 00:12:52 -04:00
|
|
|
|
1997-08-14 23:52:46 -03:00
|
|
|
|
2004-08-07 16:21:59 -03:00
|
|
|
|
1997-03-14 00:12:52 -04:00
|
|
|
\section{Platform specific modules}
|
|
|
|
|
1999-06-18 16:58:59 -03:00
|
|
|
These modules are used to implement the \refmodule{os.path} module,
|
|
|
|
and are not documented beyond this mention. There's little need to
|
|
|
|
document these.
|
1999-02-02 14:59:58 -04:00
|
|
|
|
1998-04-07 11:15:28 -03:00
|
|
|
\begin{description}
|
1999-07-01 17:42:57 -03:00
|
|
|
\item[\module{ntpath}]
|
2003-05-09 12:04:56 -03:00
|
|
|
--- Implementation of \module{os.path} on Win32, Win64, WinCE, and
|
2006-04-21 07:40:58 -03:00
|
|
|
OS/2 platforms.
|
1997-03-14 00:12:52 -04:00
|
|
|
|
1999-07-01 17:42:57 -03:00
|
|
|
\item[\module{posixpath}]
|
2003-05-09 12:04:56 -03:00
|
|
|
--- Implementation of \module{os.path} on \POSIX.
|
2003-05-06 17:40:17 -03:00
|
|
|
\end{description}
|
|
|
|
|
1997-03-14 00:12:52 -04:00
|
|
|
|
|
|
|
\section{Multimedia}
|
|
|
|
|
1998-04-07 11:15:28 -03:00
|
|
|
\begin{description}
|
1999-07-01 17:42:57 -03:00
|
|
|
\item[\module{audiodev}]
|
2000-09-11 02:23:25 -03:00
|
|
|
--- Platform-independent API for playing audio data.
|
1997-03-14 00:12:52 -04:00
|
|
|
|
2003-01-08 03:21:53 -04:00
|
|
|
\item[\module{linuxaudiodev}]
|
|
|
|
--- Play audio data on the Linux audio device. Replaced in Python 2.3
|
2006-04-21 07:40:58 -03:00
|
|
|
by the \module{ossaudiodev} module.
|
2003-01-08 03:21:53 -04:00
|
|
|
|
1999-07-01 17:42:57 -03:00
|
|
|
\item[\module{sunaudio}]
|
2000-09-11 02:23:25 -03:00
|
|
|
--- Interpret Sun audio headers (may become obsolete or a tool/demo).
|
1997-03-14 00:12:52 -04:00
|
|
|
|
1999-07-01 17:42:57 -03:00
|
|
|
\item[\module{toaiff}]
|
1999-06-18 16:58:59 -03:00
|
|
|
--- Convert "arbitrary" sound files to AIFF files; should probably
|
2006-04-21 07:40:58 -03:00
|
|
|
become a tool or demo. Requires the external program \program{sox}.
|
2004-12-21 17:14:42 -04:00
|
|
|
\end{description}
|
2003-01-08 03:21:53 -04:00
|
|
|
|
1997-03-14 00:12:52 -04:00
|
|
|
|
2000-04-03 17:13:55 -03:00
|
|
|
\section{Obsolete \label{obsolete-modules}}
|
|
|
|
|
|
|
|
These modules are not normally available for import; additional work
|
|
|
|
must be done to make them available.
|
|
|
|
|
2006-04-21 07:40:58 -03:00
|
|
|
%%% lib-old is empty as of Python 2.5
|
|
|
|
% Those which are written in Python will be installed into the directory
|
|
|
|
% \file{lib-old/} installed as part of the standard library. To use
|
|
|
|
% these, the directory must be added to \code{sys.path}, possibly using
|
|
|
|
% \envvar{PYTHONPATH}.
|
2000-04-03 17:13:55 -03:00
|
|
|
|
2006-04-21 07:40:58 -03:00
|
|
|
These extension modules written in C are not built by default.
|
2000-04-03 17:13:55 -03:00
|
|
|
Under \UNIX, these must be enabled by uncommenting the appropriate
|
|
|
|
lines in \file{Modules/Setup} in the build tree and either rebuilding
|
|
|
|
Python if the modules are statically linked, or building and
|
|
|
|
installing the shared object if using dynamically-loaded extensions.
|
1997-03-14 00:12:52 -04:00
|
|
|
|
2000-04-03 17:13:55 -03:00
|
|
|
% XXX need Windows instructions!
|
1997-07-16 12:48:20 -03:00
|
|
|
|
1998-04-07 11:15:28 -03:00
|
|
|
\begin{description}
|
1999-07-01 17:42:57 -03:00
|
|
|
\item[\module{timing}]
|
2006-04-21 07:40:58 -03:00
|
|
|
--- Measure time intervals to high resolution (use \function{time.clock()}
|
|
|
|
instead).
|
1998-04-07 11:15:28 -03:00
|
|
|
\end{description}
|