blob: a57c9bd0f0e9ee08c2ee93a7a5efaf7f39d0513e [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 Vassalotti2b576d22008-05-11 20:36:09 +0000102:mod:`pixmapwrapper` --- Wrapper for PixMap objects
Georg Brandl116aa622007-08-15 14:28:22 +0000103---------------------------------------------------
104
Alexandre Vassalotti2b576d22008-05-11 20:36:09 +0000105.. module:: pixmapwrapper
Georg Brandl116aa622007-08-15 14:28:22 +0000106 :platform: Mac
107 :synopsis: Wrapper for PixMap objects.
108
Alexandre Vassalotti2b576d22008-05-11 20:36:09 +0000109:mod:`pixmapwrapper` wraps a PixMap object with a Python object that allows
Georg Brandl116aa622007-08-15 14:28:22 +0000110access to the fields by name. It also has methods to convert to and from
111:mod:`PIL` images.
112
113
114:mod:`videoreader` --- Read QuickTime movies
115--------------------------------------------
116
117.. module:: videoreader
118 :platform: Mac
119 :synopsis: Read QuickTime movies frame by frame for further processing.
120
121
122:mod:`videoreader` reads and decodes QuickTime movies and passes a stream of
123images to your program. It also provides some support for audio tracks.
124
125
126:mod:`W` --- Widgets built on :mod:`FrameWork`
127----------------------------------------------
128
129.. module:: W
130 :platform: Mac
131 :synopsis: Widgets for the Mac, built on top of FrameWork.
132
133
134The :mod:`W` widgets are used extensively in the :program:`IDE`.
135
136
137.. _obsolete-modules:
138
139Obsolete
140========
141
142These modules are not normally available for import; additional work must be
143done to make them available.
144
145These extension modules written in C are not built by default. Under Unix, these
146must be enabled by uncommenting the appropriate lines in :file:`Modules/Setup`
147in the build tree and either rebuilding Python if the modules are statically
148linked, or building and installing the shared object if using dynamically-loaded
149extensions.
Christian Heimes5b5e81c2007-12-31 16:14:33 +0000150
151.. (lib-old is empty as of Python 2.5)
152
153 Those which are written in Python will be installed into the directory
154 \file{lib-old/} installed as part of the standard library. To use
155 these, the directory must be added to \code{sys.path}, possibly using
156 \envvar{PYTHONPATH}.
157
158:mod:`timing`
159 --- Measure time intervals to high resolution (use :func:`time.clock` instead).
160
161
162SGI-specific Extension modules
163==============================
164
165The following are SGI specific, and may be out of touch with the current version
166of reality.
167
168:mod:`cl`
169 --- Interface to the SGI compression library.
170
171:mod:`sv`
172 --- Interface to the "simple video" board on SGI Indigo (obsolete hardware).
173