blob: b3145301d7385735463449f60d0a4f217e86c968 [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
40
41.. _undoc-mac-modules:
42
43Undocumented Mac OS modules
44===========================
45
46
47:mod:`applesingle` --- AppleSingle decoder
48------------------------------------------
49
50.. module:: applesingle
51 :platform: Mac
52 :synopsis: Rudimentary decoder for AppleSingle format files.
53
54
Georg Brandl116aa622007-08-15 14:28:22 +000055:mod:`icopen` --- Internet Config replacement for :meth:`open`
56--------------------------------------------------------------
57
58.. module:: icopen
59 :platform: Mac
60 :synopsis: Internet Config replacement for open().
61
62
63Importing :mod:`icopen` will replace the builtin :meth:`open` with a version
64that uses Internet Config to set file type and creator for new files.
65
66
67:mod:`macerrors` --- Mac OS Errors
68----------------------------------
69
70.. module:: macerrors
71 :platform: Mac
72 :synopsis: Constant definitions for many Mac OS error codes.
73
74
75:mod:`macerrors` contains constant definitions for many Mac OS error codes.
76
77
78:mod:`macresource` --- Locate script resources
79----------------------------------------------
80
81.. module:: macresource
82 :platform: Mac
83 :synopsis: Locate script resources.
84
85
86:mod:`macresource` helps scripts finding their resources, such as dialogs and
87menus, without requiring special case code for when the script is run under
88MacPython, as a MacPython applet or under OSX Python.
89
90
91:mod:`Nav` --- NavServices calls
92--------------------------------
93
94.. module:: Nav
95 :platform: Mac
96 :synopsis: Interface to Navigation Services.
97
98
99A low-level interface to Navigation Services.
100
101
Alexandre Vassalotti25c7f0f2008-05-11 23:17:37 +0000102:mod:`PixMapWrapper` --- Wrapper for PixMap objects
Georg Brandl116aa622007-08-15 14:28:22 +0000103---------------------------------------------------
104
Alexandre Vassalotti25c7f0f2008-05-11 23:17:37 +0000105.. module:: PixMapWrapper
Georg Brandl116aa622007-08-15 14:28:22 +0000106 :platform: Mac
107 :synopsis: Wrapper for PixMap objects.
108
Alexandre Vassalotti25c7f0f2008-05-11 23:17:37 +0000109
110:mod:`PixMapWrapper` wraps a PixMap object with a Python object that allows
Georg Brandl116aa622007-08-15 14:28:22 +0000111access to the fields by name. It also has methods to convert to and from
112:mod:`PIL` images.
113
114
115:mod:`videoreader` --- Read QuickTime movies
116--------------------------------------------
117
118.. module:: videoreader
119 :platform: Mac
120 :synopsis: Read QuickTime movies frame by frame for further processing.
121
122
123:mod:`videoreader` reads and decodes QuickTime movies and passes a stream of
124images to your program. It also provides some support for audio tracks.
125
126
127:mod:`W` --- Widgets built on :mod:`FrameWork`
128----------------------------------------------
129
130.. module:: W
131 :platform: Mac
132 :synopsis: Widgets for the Mac, built on top of FrameWork.
133
134
135The :mod:`W` widgets are used extensively in the :program:`IDE`.
136
137
138.. _obsolete-modules:
139
140Obsolete
141========
142
143These modules are not normally available for import; additional work must be
144done to make them available.
145
146These extension modules written in C are not built by default. Under Unix, these
147must be enabled by uncommenting the appropriate lines in :file:`Modules/Setup`
148in the build tree and either rebuilding Python if the modules are statically
149linked, or building and installing the shared object if using dynamically-loaded
150extensions.
Christian Heimes5b5e81c2007-12-31 16:14:33 +0000151
Georg Brandle6bcc912008-05-12 18:05:20 +0000152.. XXX new explanation of lib-old necessary
Christian Heimes5b5e81c2007-12-31 16:14:33 +0000153
154 Those which are written in Python will be installed into the directory
155 \file{lib-old/} installed as part of the standard library. To use
156 these, the directory must be added to \code{sys.path}, possibly using
157 \envvar{PYTHONPATH}.
158
159:mod:`timing`
160 --- Measure time intervals to high resolution (use :func:`time.clock` instead).
161
162
163SGI-specific Extension modules
164==============================
165
166The following are SGI specific, and may be out of touch with the current version
167of reality.
168
169:mod:`cl`
170 --- Interface to the SGI compression library.
171
172:mod:`sv`
173 --- Interface to the "simple video" board on SGI Indigo (obsolete hardware).
174