blob: 8cdf442845914521cc57d6f134e4cc105ac3cd6d [file] [log] [blame]
Georg Brandl116aa622007-08-15 14:28:22 +00001
2.. _undoc:
3
4********************
5Undocumented Modules
6********************
7
8Here's a quick listing of modules that are currently undocumented, but that
9should be documented. Feel free to contribute documentation for them! (Send
10via email to docs@python.org.)
11
12The idea and original contents for this chapter were taken from a posting by
13Fredrik Lundh; the specific contents of this chapter have been substantially
14revised.
15
16
Georg Brandl116aa622007-08-15 14:28:22 +000017Platform specific modules
18=========================
19
20These modules are used to implement the :mod:`os.path` module, and are not
21documented beyond this mention. There's little need to document these.
22
23:mod:`ntpath`
24 --- Implementation of :mod:`os.path` on Win32, Win64, WinCE, and OS/2 platforms.
25
26:mod:`posixpath`
27 --- Implementation of :mod:`os.path` on POSIX.
28
29
30Multimedia
31==========
32
33:mod:`linuxaudiodev`
34 --- Play audio data on the Linux audio device. Replaced in Python 2.3 by the
35 :mod:`ossaudiodev` module.
36
37:mod:`sunaudio`
38 --- Interpret Sun audio headers (may become obsolete or a tool/demo).
39
Georg Brandl116aa622007-08-15 14:28:22 +000040.. _obsolete-modules:
41
42Obsolete
43========
44
45These modules are not normally available for import; additional work must be
46done to make them available.
47
48These extension modules written in C are not built by default. Under Unix, these
49must be enabled by uncommenting the appropriate lines in :file:`Modules/Setup`
50in the build tree and either rebuilding Python if the modules are statically
51linked, or building and installing the shared object if using dynamically-loaded
52extensions.
Christian Heimes5b5e81c2007-12-31 16:14:33 +000053
Georg Brandle6bcc912008-05-12 18:05:20 +000054.. XXX new explanation of lib-old necessary
Christian Heimes5b5e81c2007-12-31 16:14:33 +000055
56 Those which are written in Python will be installed into the directory
57 \file{lib-old/} installed as part of the standard library. To use
58 these, the directory must be added to \code{sys.path}, possibly using
59 \envvar{PYTHONPATH}.
60
61:mod:`timing`
62 --- Measure time intervals to high resolution (use :func:`time.clock` instead).
63
64
65SGI-specific Extension modules
66==============================
67
68The following are SGI specific, and may be out of touch with the current version
69of reality.
70
71:mod:`cl`
72 --- Interface to the SGI compression library.
73
74:mod:`sv`
75 --- Interface to the "simple video" board on SGI Indigo (obsolete hardware).
76