blob: 3cc94bb22831736dc760ffebf8e7478e45d91b13 [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
17Miscellaneous useful utilities
18==============================
19
20Some of these are very old and/or not very robust; marked with "hmm."
21
22:mod:`bdb`
23 --- A generic Python debugger base class (used by pdb).
24
25:mod:`ihooks`
26 --- Import hook support (for :mod:`rexec`; may become obsolete).
27
28
29Platform specific modules
30=========================
31
32These modules are used to implement the :mod:`os.path` module, and are not
33documented beyond this mention. There's little need to document these.
34
35:mod:`ntpath`
36 --- Implementation of :mod:`os.path` on Win32, Win64, WinCE, and OS/2 platforms.
37
38:mod:`posixpath`
39 --- Implementation of :mod:`os.path` on POSIX.
40
41
42Multimedia
43==========
44
45:mod:`linuxaudiodev`
46 --- Play audio data on the Linux audio device. Replaced in Python 2.3 by the
47 :mod:`ossaudiodev` module.
48
49:mod:`sunaudio`
50 --- Interpret Sun audio headers (may become obsolete or a tool/demo).
51
52
53.. _undoc-mac-modules:
54
55Undocumented Mac OS modules
56===========================
57
58
59:mod:`applesingle` --- AppleSingle decoder
60------------------------------------------
61
62.. module:: applesingle
63 :platform: Mac
64 :synopsis: Rudimentary decoder for AppleSingle format files.
65
66
67
68:mod:`buildtools` --- Helper module for BuildApplet and Friends
69---------------------------------------------------------------
70
71.. module:: buildtools
72 :platform: Mac
73 :synopsis: Helper module for BuildApplet, BuildApplication and macfreeze.
74
75
76.. deprecated:: 2.4
77
78
79:mod:`icopen` --- Internet Config replacement for :meth:`open`
80--------------------------------------------------------------
81
82.. module:: icopen
83 :platform: Mac
84 :synopsis: Internet Config replacement for open().
85
86
87Importing :mod:`icopen` will replace the builtin :meth:`open` with a version
88that uses Internet Config to set file type and creator for new files.
89
90
91:mod:`macerrors` --- Mac OS Errors
92----------------------------------
93
94.. module:: macerrors
95 :platform: Mac
96 :synopsis: Constant definitions for many Mac OS error codes.
97
98
99:mod:`macerrors` contains constant definitions for many Mac OS error codes.
100
101
102:mod:`macresource` --- Locate script resources
103----------------------------------------------
104
105.. module:: macresource
106 :platform: Mac
107 :synopsis: Locate script resources.
108
109
110:mod:`macresource` helps scripts finding their resources, such as dialogs and
111menus, without requiring special case code for when the script is run under
112MacPython, as a MacPython applet or under OSX Python.
113
114
115:mod:`Nav` --- NavServices calls
116--------------------------------
117
118.. module:: Nav
119 :platform: Mac
120 :synopsis: Interface to Navigation Services.
121
122
123A low-level interface to Navigation Services.
124
125
126:mod:`PixMapWrapper` --- Wrapper for PixMap objects
127---------------------------------------------------
128
129.. module:: PixMapWrapper
130 :platform: Mac
131 :synopsis: Wrapper for PixMap objects.
132
133
134:mod:`PixMapWrapper` wraps a PixMap object with a Python object that allows
135access to the fields by name. It also has methods to convert to and from
136:mod:`PIL` images.
137
138
139:mod:`videoreader` --- Read QuickTime movies
140--------------------------------------------
141
142.. module:: videoreader
143 :platform: Mac
144 :synopsis: Read QuickTime movies frame by frame for further processing.
145
146
147:mod:`videoreader` reads and decodes QuickTime movies and passes a stream of
148images to your program. It also provides some support for audio tracks.
149
150
151:mod:`W` --- Widgets built on :mod:`FrameWork`
152----------------------------------------------
153
154.. module:: W
155 :platform: Mac
156 :synopsis: Widgets for the Mac, built on top of FrameWork.
157
158
159The :mod:`W` widgets are used extensively in the :program:`IDE`.
160
161
162.. _obsolete-modules:
163
164Obsolete
165========
166
167These modules are not normally available for import; additional work must be
168done to make them available.
169
170These extension modules written in C are not built by default. Under Unix, these
171must be enabled by uncommenting the appropriate lines in :file:`Modules/Setup`
172in the build tree and either rebuilding Python if the modules are statically
173linked, or building and installing the shared object if using dynamically-loaded
174extensions.