blob: da96706a52a562b13c78741836c6a71b111eeecb [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
7\ulink{\email{python-docs@python.org}}{mailto:python-docs@python.org}.
Fred Drake4d0d6212000-10-14 05:08:34 +00008
9\localmoduletable
10
11
12\section{\module{buildtools} --- Helper module for BuildApplet and Friends}
13\declaremodule{standard}{buildtools}
14 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +000015\modulesynopsis{Helper module for BuildApplet, BuildApplication and
16 macfreeze}
Fred Drake4d0d6212000-10-14 05:08:34 +000017
18
Fred Drake12060e52001-07-10 14:19:45 +000019\section{\module{py_resource} --- Resources from Python code}
Fred Drake4d0d6212000-10-14 05:08:34 +000020\declaremodule[pyresource]{standard}{py_resource}
21 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +000022\modulesynopsis{Helper to create \texttt{'PYC '} resources for compiled
23 applications}
24
25This module is primarily used as a help module for BuildApplet and
26BuildApplication. It is able to store compiled Python code as
27\texttt{'PYC '} resources in a file.
Fred Drake4d0d6212000-10-14 05:08:34 +000028
29
30\section{\module{cfmfile} --- Code Fragment Resource module}
31\declaremodule{standard}{cfmfile}
32 \platform{Mac}
33\modulesynopsis{Code Fragment Resource module}
34
35\module{cfmfile} is a module that understands Code Fragments and the
36accompanying ``cfrg'' resources. It can parse them and merge them, and is
37used by BuildApplication to combine all plugin modules to a single
38executable.
39
40
41\section{\module{macerrors} --- MacOS Errors}
42\declaremodule{standard}{macerrors}
43 \platform{Mac}
44\modulesynopsis{Constant definitions for many MacOS error codes}
45
46\module{macerrors} cotains constant definitions for many MacOS error codes.
47
48
49\section{\module{macfsn} --- NavServices calls}
50\declaremodule{standard}{macfsn}
51 \platform{Mac}
52\modulesynopsis{NavServices versions of StandardFile calls}
53
54
55\module{macfsn} contains wrapper functions that have the same API as the macfs
56StandardFile calls, but are implemented with Navigation Services. Importing it
57will replace the methods in macfs with these, if Navigation Services is
58available on your machine.
59
60
61\section{\module{icopen} --- Internet Config replacement for \method{open()}}
62\declaremodule{standard}{icopen}
63 \platform{Mac}
64\modulesynopsis{Internet Config replacement for \method{open()}}
65
66Importing \module{icopen} will replace the builtin \method{open()}
67with a version that uses Internet Config to set file type and creator
68for new files.
69
70
Fred Drake12060e52001-07-10 14:19:45 +000071\section{\module{mactty} --- Serial line connections}
Fred Drake4d0d6212000-10-14 05:08:34 +000072\declaremodule{standard}{mactty}
73 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +000074\modulesynopsis{Easy access serial to line connections}
Fred Drake4d0d6212000-10-14 05:08:34 +000075
76
77\section{\module{nsremote} --- Wrapper around Netscape OSA modules}
78\declaremodule{standard}{nsremote}
79 \platform{Mac}
80\modulesynopsis{Wrapper around Netscape OSA modules}
81
82\module{nsremote} is a wrapper around the Netscape OSA modules that
Fred Drake8875c862001-04-10 20:32:16 +000083allows you to easily send your browser to a given URL. A related
84module that may be of interest is the \module{webbrowser} module,
85documented in the \citetitle[../lib/lib.html]{Python Library
86Reference}.
Fred Drake4d0d6212000-10-14 05:08:34 +000087
88
89\section{\module{PixMapWrapper} --- Wrapper for PixMap objects}
90\declaremodule{standard}{PixMapWrapper}
91 \platform{Mac}
92\modulesynopsis{Wrapper for PixMap objects}
93
94\module{PixMapWrapper} wraps a PixMap object with a Python object that
95allows access to the fields by name. It also has methods to convert
96to and from \module{PIL} images.
97
98
Fred Drake12060e52001-07-10 14:19:45 +000099\section{\module{preferences} --- Application preferences manager}
Fred Drake4d0d6212000-10-14 05:08:34 +0000100\declaremodule{standard}{preferences}
101 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +0000102\modulesynopsis{Nice application preferences manager with support for
103 defaults}
104
105The \module{preferences} module allows storage of user preferences in
106the system-wide preferences folder, with defaults coming from the
107application itself and the possibility to override preferences for
108specific situations.
Fred Drake4d0d6212000-10-14 05:08:34 +0000109
110
Fred Drake12060e52001-07-10 14:19:45 +0000111\section{\module{pythonprefs} --- Preferences manager for Python}
Fred Drake4d0d6212000-10-14 05:08:34 +0000112\declaremodule{standard}{pythonprefs}
113 \platform{Mac}
Fred Drake12060e52001-07-10 14:19:45 +0000114\modulesynopsis{Specialized preferences manager for the Python
115 interpreter}
116
117This module is a specialization of the \refmodule{preferences} module
118that allows reading and writing of the preferences for the Python
119interpreter.
Fred Drake4d0d6212000-10-14 05:08:34 +0000120
121
122\section{\module{quietconsole} --- non-visible stdout output}
123\declaremodule{standard}{quietconsole}
124 \platform{Mac}
125\modulesynopsis{buffered, non-visible stdout output}
126
127\module{quietconsole} allows you to keep stdio output in a buffer
128without displaying it (or without displaying the stdout window
129altogether, if set with \program{EditPythonPrefs}) until you try to read from
130stdin or disable the buffering, at which point all the saved output is
Fred Drake8da359b2001-07-14 02:09:32 +0000131sent to the window. Good for programs with graphilcal user interfaces
132that do want to display their output at a crash.
Fred Drake4d0d6212000-10-14 05:08:34 +0000133
134
135\section{\module{W} --- Widgets built on \module{FrameWork}}
136\declaremodule{standard}{W}
137 \platform{Mac}
138\modulesynopsis{Widgets for the Mac, built on top of \module{FrameWork}}
139
140The \module{W} widgets are used extensively in the \program{IDE}.