blob: 9d3b7630634c73c2ed57f6ee37bd3140beb3ee3a [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}
Andrew M. Kuchlingc12527e2004-07-21 21:34:45 +000076\declaremodule{standard}{Nav}
Jack Jansen945bf5f2001-09-11 21:24:07 +000077 \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
Fred Drakeb79f3432003-09-04 19:52:02 +000087\refmodindex{distutils}
Jack Jansen945bf5f2001-09-11 21:24:07 +000088\module{mkcwproject} creates project files for the Metrowerks CodeWarrior
89development environment. It is a helper module for
Fred Drakeb79f3432003-09-04 19:52:02 +000090\module{distutils} but can be used separately for more
Jack Jansen945bf5f2001-09-11 21:24:07 +000091control.
92
Fred Drake4d0d6212000-10-14 05:08:34 +000093
94\section{\module{nsremote} --- Wrapper around Netscape OSA modules}
95\declaremodule{standard}{nsremote}
96 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +000097\modulesynopsis{Wrapper around Netscape OSA modules.}
Fred Drake4d0d6212000-10-14 05:08:34 +000098
99\module{nsremote} is a wrapper around the Netscape OSA modules that
Fred Drake8875c862001-04-10 20:32:16 +0000100allows you to easily send your browser to a given URL. A related
101module that may be of interest is the \module{webbrowser} module,
102documented in the \citetitle[../lib/lib.html]{Python Library
103Reference}.
Fred Drake4d0d6212000-10-14 05:08:34 +0000104
105
106\section{\module{PixMapWrapper} --- Wrapper for PixMap objects}
107\declaremodule{standard}{PixMapWrapper}
108 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +0000109\modulesynopsis{Wrapper for PixMap objects.}
Fred Drake4d0d6212000-10-14 05:08:34 +0000110
111\module{PixMapWrapper} wraps a PixMap object with a Python object that
112allows access to the fields by name. It also has methods to convert
113to and from \module{PIL} images.
114
115
Fred Drake12060e52001-07-10 14:19:45 +0000116\section{\module{preferences} --- Application preferences manager}
Fred Drake4d0d6212000-10-14 05:08:34 +0000117\declaremodule{standard}{preferences}
118 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +0000119\modulesynopsis{Nice application preferences manager with support for
Fred Drakeac968682002-01-17 04:51:55 +0000120 defaults.}
Fred Drake12060e52001-07-10 14:19:45 +0000121
122The \module{preferences} module allows storage of user preferences in
123the system-wide preferences folder, with defaults coming from the
124application itself and the possibility to override preferences for
125specific situations.
Fred Drake4d0d6212000-10-14 05:08:34 +0000126
127
Fred Drake12060e52001-07-10 14:19:45 +0000128\section{\module{pythonprefs} --- Preferences manager for Python}
Fred Drake4d0d6212000-10-14 05:08:34 +0000129\declaremodule{standard}{pythonprefs}
130 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +0000131\modulesynopsis{Specialized preferences manager for the Python
Fred Drakeac968682002-01-17 04:51:55 +0000132 interpreter.}
Fred Drake12060e52001-07-10 14:19:45 +0000133
134This module is a specialization of the \refmodule{preferences} module
135that allows reading and writing of the preferences for the Python
136interpreter.
Fred Drake4d0d6212000-10-14 05:08:34 +0000137
138
Fred Drakeac968682002-01-17 04:51:55 +0000139\section{\module{quietconsole} --- Non-visible standard output}
Fred Drake4d0d6212000-10-14 05:08:34 +0000140\declaremodule{standard}{quietconsole}
141 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +0000142\modulesynopsis{Buffered, non-visible standard output.}
Fred Drake4d0d6212000-10-14 05:08:34 +0000143
144\module{quietconsole} allows you to keep stdio output in a buffer
145without displaying it (or without displaying the stdout window
146altogether, if set with \program{EditPythonPrefs}) until you try to read from
147stdin or disable the buffering, at which point all the saved output is
Jack Jansen945bf5f2001-09-11 21:24:07 +0000148sent to the window. Good for programs with graphical user interfaces
Fred Drake8da359b2001-07-14 02:09:32 +0000149that do want to display their output at a crash.
Fred Drake4d0d6212000-10-14 05:08:34 +0000150
151
Fred Drakeac968682002-01-17 04:51:55 +0000152\section{\module{videoreader} --- Read QuickTime movies}
Jack Jansen945bf5f2001-09-11 21:24:07 +0000153\declaremodule{standard}{videoreader}
154 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +0000155\modulesynopsis{Read QuickTime movies frame by frame for further processing.}
Jack Jansen945bf5f2001-09-11 21:24:07 +0000156
157\module{videoreader} reads and decodes QuickTime movies and passes
158a stream of images to your program. It also provides some support for
159audio tracks.
160
Fred Drake4d0d6212000-10-14 05:08:34 +0000161\section{\module{W} --- Widgets built on \module{FrameWork}}
162\declaremodule{standard}{W}
163 \platform{Mac}
Fred Drakeac968682002-01-17 04:51:55 +0000164\modulesynopsis{Widgets for the Mac, built on top of \refmodule{FrameWork}.}
Fred Drake4d0d6212000-10-14 05:08:34 +0000165
166The \module{W} widgets are used extensively in the \program{IDE}.
Jack Jansen945bf5f2001-09-11 21:24:07 +0000167
168\section{\module{waste} --- non-Apple \program{TextEdit} replacement}
169\declaremodule{standard}{waste}
170 \platform{Mac}
171\modulesynopsis{Interface to the ``WorldScript-Aware Styled Text Engine.''}
172
173\begin{seealso}
174 \seetitle[http://www.merzwaren.com/waste/]{About WASTE}{Information
175 about the WASTE widget and library, including
176 documentation and downloads.}
177\end{seealso}
178