blob: 55f1721baffb0e8990e4fe673604df907cb44f2f [file] [log] [blame]
Fred Drake4d0d6212000-10-14 05:08:34 +00001\chapter{Undocumented Modules \label{undocumented-modules}}
2
3
4The modules in this chapter are poorly documented (if at all). If you
5wish to contribute documentation of any of these modules, please get in
Fred Drake8da359b2001-07-14 02:09:32 +00006touch with
Fred Drake9d843082003-07-30 02:55:28 +00007\ulink{\email{docs@python.org}}{mailto:docs@python.org}.
Fred Drake4d0d6212000-10-14 05:08:34 +00008
9\localmoduletable
10
11
Jack Jansen945bf5f2001-09-11 21:24:07 +000012\section{\module{applesingle} --- AppleSingle decoder}
13\declaremodule{standard}{applesingle}
14 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000015\modulesynopsis{Rudimentary decoder for AppleSingle format files.}
Jack Jansen945bf5f2001-09-11 21:24:07 +000016
17
Fred Drake4d0d6212000-10-14 05:08:34 +000018\section{\module{buildtools} --- Helper module for BuildApplet and Friends}
19\declaremodule{standard}{buildtools}
20 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +000021\modulesynopsis{Helper module for BuildApplet, BuildApplication and
Fred Drakeac968682002-01-17 04:51:55 +000022 macfreeze.}
Fred Drake4d0d6212000-10-14 05:08:34 +000023
24
Fred Drake12060e52001-07-10 14:19:45 +000025\section{\module{py_resource} --- Resources from Python code}
Fred Drake4d0d6212000-10-14 05:08:34 +000026\declaremodule[pyresource]{standard}{py_resource}
27 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000028\modulesynopsis{Helper to create \texttt{'PYC~'} resources for compiled
29 applications.}
Fred Drake12060e52001-07-10 14:19:45 +000030
Fred Drake0f0380a2001-10-01 17:04:10 +000031This module is primarily used as a help module for
32\program{BuildApplet} and \program{BuildApplication}. It is able to
33store compiled Python code as \texttt{'PYC~'} resources in a file.
Fred Drake4d0d6212000-10-14 05:08:34 +000034
35
36\section{\module{cfmfile} --- Code Fragment Resource module}
37\declaremodule{standard}{cfmfile}
38 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000039\modulesynopsis{Code Fragment Resource module.}
Fred Drake4d0d6212000-10-14 05:08:34 +000040
41\module{cfmfile} is a module that understands Code Fragments and the
42accompanying ``cfrg'' resources. It can parse them and merge them, and is
43used by BuildApplication to combine all plugin modules to a single
44executable.
45
46
Jack Jansen945bf5f2001-09-11 21:24:07 +000047\section{\module{icopen} --- Internet Config replacement for \method{open()}}
48\declaremodule{standard}{icopen}
49 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000050\modulesynopsis{Internet Config replacement for \method{open()}.}
Jack Jansen945bf5f2001-09-11 21:24:07 +000051
52Importing \module{icopen} will replace the builtin \method{open()}
53with a version that uses Internet Config to set file type and creator
54for new files.
55
56
Fred Drake0f0380a2001-10-01 17:04:10 +000057\section{\module{macerrors} --- Mac OS Errors}
Fred Drake4d0d6212000-10-14 05:08:34 +000058\declaremodule{standard}{macerrors}
59 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000060\modulesynopsis{Constant definitions for many Mac OS error codes.}
Fred Drake4d0d6212000-10-14 05:08:34 +000061
Fred Drakeac968682002-01-17 04:51:55 +000062\module{macerrors} cotains constant definitions for many Mac OS error
63codes.
Fred Drake4d0d6212000-10-14 05:08:34 +000064
65
Jack Jansen945bf5f2001-09-11 21:24:07 +000066\section{\module{macresource} --- Locate script resources}
67\declaremodule{standard}{macresource}
Fred Drake4d0d6212000-10-14 05:08:34 +000068 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000069\modulesynopsis{Locate script resources.}
Fred Drake4d0d6212000-10-14 05:08:34 +000070
Jack Jansen945bf5f2001-09-11 21:24:07 +000071\module{macresource} helps scripts finding their resources, such as
72dialogs and menus, without requiring special case code for when the
73script is run under MacPython, as a MacPython applet or under OSX Python.
74
Fred Drakeee0fe0b2001-09-12 00:43:13 +000075\section{\module{Nav} --- NavServices calls}
Jack Jansen945bf5f2001-09-11 21:24:07 +000076\declaremodule{standard}{Nac}
77 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000078\modulesynopsis{Interface to Navigation Services.}
Jack Jansen945bf5f2001-09-11 21:24:07 +000079
80A low-level interface to Navigation Services.
Fred Drake4d0d6212000-10-14 05:08:34 +000081
Jack Jansen945bf5f2001-09-11 21:24:07 +000082\section{\module{mkcwproject} --- Create CodeWarrior projects}
83\declaremodule{standard}{mkcwproject}
84 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000085\modulesynopsis{Create CodeWarrior projects.}
Jack Jansen945bf5f2001-09-11 21:24:07 +000086
87\module{mkcwproject} creates project files for the Metrowerks CodeWarrior
88development environment. It is a helper module for
89\refmodule{distutils}\refbimodindex{distutils} but can be used separately for more
90control.
91
Fred Drake4d0d6212000-10-14 05:08:34 +000092
93\section{\module{nsremote} --- Wrapper around Netscape OSA modules}
94\declaremodule{standard}{nsremote}
95 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000096\modulesynopsis{Wrapper around Netscape OSA modules.}
Fred Drake4d0d6212000-10-14 05:08:34 +000097
98\module{nsremote} is a wrapper around the Netscape OSA modules that
Fred Drake8875c862001-04-10 20:32:16 +000099allows you to easily send your browser to a given URL. A related
100module that may be of interest is the \module{webbrowser} module,
101documented in the \citetitle[../lib/lib.html]{Python Library
102Reference}.
Fred Drake4d0d6212000-10-14 05:08:34 +0000103
104
105\section{\module{PixMapWrapper} --- Wrapper for PixMap objects}
106\declaremodule{standard}{PixMapWrapper}
107 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +0000108\modulesynopsis{Wrapper for PixMap objects.}
Fred Drake4d0d6212000-10-14 05:08:34 +0000109
110\module{PixMapWrapper} wraps a PixMap object with a Python object that
111allows access to the fields by name. It also has methods to convert
112to and from \module{PIL} images.
113
114
Fred Drake12060e52001-07-10 14:19:45 +0000115\section{\module{preferences} --- Application preferences manager}
Fred Drake4d0d6212000-10-14 05:08:34 +0000116\declaremodule{standard}{preferences}
117 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +0000118\modulesynopsis{Nice application preferences manager with support for
Fred Drakeac968682002-01-17 04:51:55 +0000119 defaults.}
Fred Drake12060e52001-07-10 14:19:45 +0000120
121The \module{preferences} module allows storage of user preferences in
122the system-wide preferences folder, with defaults coming from the
123application itself and the possibility to override preferences for
124specific situations.
Fred Drake4d0d6212000-10-14 05:08:34 +0000125
126
Fred Drake12060e52001-07-10 14:19:45 +0000127\section{\module{pythonprefs} --- Preferences manager for Python}
Fred Drake4d0d6212000-10-14 05:08:34 +0000128\declaremodule{standard}{pythonprefs}
129 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +0000130\modulesynopsis{Specialized preferences manager for the Python
Fred Drakeac968682002-01-17 04:51:55 +0000131 interpreter.}
Fred Drake12060e52001-07-10 14:19:45 +0000132
133This module is a specialization of the \refmodule{preferences} module
134that allows reading and writing of the preferences for the Python
135interpreter.
Fred Drake4d0d6212000-10-14 05:08:34 +0000136
137
Fred Drakeac968682002-01-17 04:51:55 +0000138\section{\module{quietconsole} --- Non-visible standard output}
Fred Drake4d0d6212000-10-14 05:08:34 +0000139\declaremodule{standard}{quietconsole}
140 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +0000141\modulesynopsis{Buffered, non-visible standard output.}
Fred Drake4d0d6212000-10-14 05:08:34 +0000142
143\module{quietconsole} allows you to keep stdio output in a buffer
144without displaying it (or without displaying the stdout window
145altogether, if set with \program{EditPythonPrefs}) until you try to read from
146stdin or disable the buffering, at which point all the saved output is
Jack Jansen945bf5f2001-09-11 21:24:07 +0000147sent to the window. Good for programs with graphical user interfaces
Fred Drake8da359b2001-07-14 02:09:32 +0000148that do want to display their output at a crash.
Fred Drake4d0d6212000-10-14 05:08:34 +0000149
150
Fred Drakeac968682002-01-17 04:51:55 +0000151\section{\module{videoreader} --- Read QuickTime movies}
Jack Jansen945bf5f2001-09-11 21:24:07 +0000152\declaremodule{standard}{videoreader}
153 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +0000154\modulesynopsis{Read QuickTime movies frame by frame for further processing.}
Jack Jansen945bf5f2001-09-11 21:24:07 +0000155
156\module{videoreader} reads and decodes QuickTime movies and passes
157a stream of images to your program. It also provides some support for
158audio tracks.
159
Fred Drake4d0d6212000-10-14 05:08:34 +0000160\section{\module{W} --- Widgets built on \module{FrameWork}}
161\declaremodule{standard}{W}
162 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +0000163\modulesynopsis{Widgets for the Mac, built on top of \refmodule{FrameWork}.}
Fred Drake4d0d6212000-10-14 05:08:34 +0000164
165The \module{W} widgets are used extensively in the \program{IDE}.
Jack Jansen945bf5f2001-09-11 21:24:07 +0000166
167\section{\module{waste} --- non-Apple \program{TextEdit} replacement}
168\declaremodule{standard}{waste}
169 \platform{Mac}
170\modulesynopsis{Interface to the ``WorldScript-Aware Styled Text Engine.''}
171
172\begin{seealso}
173 \seetitle[http://www.merzwaren.com/waste/]{About WASTE}{Information
174 about the WASTE widget and library, including
175 documentation and downloads.}
176\end{seealso}
177