Fred Drake | 4d0d621 | 2000-10-14 05:08:34 +0000 | [diff] [blame] | 1 | \chapter{Undocumented Modules \label{undocumented-modules}} |
| 2 | |
| 3 | |
| 4 | The modules in this chapter are poorly documented (if at all). If you |
| 5 | wish to contribute documentation of any of these modules, please get in |
| 6 | touch with \email{python-docs@python.org}. |
| 7 | |
| 8 | \localmoduletable |
| 9 | |
| 10 | |
| 11 | \section{\module{buildtools} --- Helper module for BuildApplet and Friends} |
| 12 | \declaremodule{standard}{buildtools} |
| 13 | \platform{Mac} |
Fred Drake | 8875c86 | 2001-04-10 20:32:16 +0000 | [diff] [blame] | 14 | \modulesynopsis{Helper module for BuildApplet, BuildApplication and macfreeze} |
Fred Drake | 4d0d621 | 2000-10-14 05:08:34 +0000 | [diff] [blame] | 15 | |
| 16 | |
| 17 | \section{\module{py_resource} --- } |
| 18 | \declaremodule[pyresource]{standard}{py_resource} |
| 19 | \platform{Mac} |
| 20 | \modulesynopsis{} |
| 21 | |
| 22 | |
| 23 | \section{\module{cfmfile} --- Code Fragment Resource module} |
| 24 | \declaremodule{standard}{cfmfile} |
| 25 | \platform{Mac} |
| 26 | \modulesynopsis{Code Fragment Resource module} |
| 27 | |
| 28 | \module{cfmfile} is a module that understands Code Fragments and the |
| 29 | accompanying ``cfrg'' resources. It can parse them and merge them, and is |
| 30 | used by BuildApplication to combine all plugin modules to a single |
| 31 | executable. |
| 32 | |
| 33 | |
| 34 | \section{\module{macerrors} --- MacOS Errors} |
| 35 | \declaremodule{standard}{macerrors} |
| 36 | \platform{Mac} |
| 37 | \modulesynopsis{Constant definitions for many MacOS error codes} |
| 38 | |
| 39 | \module{macerrors} cotains constant definitions for many MacOS error codes. |
| 40 | |
| 41 | |
| 42 | \section{\module{macfsn} --- NavServices calls} |
| 43 | \declaremodule{standard}{macfsn} |
| 44 | \platform{Mac} |
| 45 | \modulesynopsis{NavServices versions of StandardFile calls} |
| 46 | |
| 47 | |
| 48 | \module{macfsn} contains wrapper functions that have the same API as the macfs |
| 49 | StandardFile calls, but are implemented with Navigation Services. Importing it |
| 50 | will replace the methods in macfs with these, if Navigation Services is |
| 51 | available on your machine. |
| 52 | |
| 53 | |
| 54 | \section{\module{icopen} --- Internet Config replacement for \method{open()}} |
| 55 | \declaremodule{standard}{icopen} |
| 56 | \platform{Mac} |
| 57 | \modulesynopsis{Internet Config replacement for \method{open()}} |
| 58 | |
| 59 | Importing \module{icopen} will replace the builtin \method{open()} |
| 60 | with a version that uses Internet Config to set file type and creator |
| 61 | for new files. |
| 62 | |
| 63 | |
| 64 | \section{\module{mactty} --- } |
| 65 | \declaremodule{standard}{mactty} |
| 66 | \platform{Mac} |
| 67 | \modulesynopsis{} |
| 68 | |
| 69 | |
| 70 | \section{\module{nsremote} --- Wrapper around Netscape OSA modules} |
| 71 | \declaremodule{standard}{nsremote} |
| 72 | \platform{Mac} |
| 73 | \modulesynopsis{Wrapper around Netscape OSA modules} |
| 74 | |
| 75 | \module{nsremote} is a wrapper around the Netscape OSA modules that |
Fred Drake | 8875c86 | 2001-04-10 20:32:16 +0000 | [diff] [blame] | 76 | allows you to easily send your browser to a given URL. A related |
| 77 | module that may be of interest is the \module{webbrowser} module, |
| 78 | documented in the \citetitle[../lib/lib.html]{Python Library |
| 79 | Reference}. |
Fred Drake | 4d0d621 | 2000-10-14 05:08:34 +0000 | [diff] [blame] | 80 | |
| 81 | |
| 82 | \section{\module{PixMapWrapper} --- Wrapper for PixMap objects} |
| 83 | \declaremodule{standard}{PixMapWrapper} |
| 84 | \platform{Mac} |
| 85 | \modulesynopsis{Wrapper for PixMap objects} |
| 86 | |
| 87 | \module{PixMapWrapper} wraps a PixMap object with a Python object that |
| 88 | allows access to the fields by name. It also has methods to convert |
| 89 | to and from \module{PIL} images. |
| 90 | |
| 91 | |
| 92 | \section{\module{preferences} --- } |
| 93 | \declaremodule{standard}{preferences} |
| 94 | \platform{Mac} |
| 95 | \modulesynopsis{} |
| 96 | |
| 97 | |
| 98 | \section{\module{pythonprefs} --- } |
| 99 | \declaremodule{standard}{pythonprefs} |
| 100 | \platform{Mac} |
| 101 | \modulesynopsis{} |
| 102 | |
| 103 | |
| 104 | \section{\module{quietconsole} --- non-visible stdout output} |
| 105 | \declaremodule{standard}{quietconsole} |
| 106 | \platform{Mac} |
| 107 | \modulesynopsis{buffered, non-visible stdout output} |
| 108 | |
| 109 | \module{quietconsole} allows you to keep stdio output in a buffer |
| 110 | without displaying it (or without displaying the stdout window |
| 111 | altogether, if set with \program{EditPythonPrefs}) until you try to read from |
| 112 | stdin or disable the buffering, at which point all the saved output is |
| 113 | sent to the window. Good for GUI programs that do want to display their |
| 114 | output at a crash. |
| 115 | |
| 116 | |
| 117 | \section{\module{W} --- Widgets built on \module{FrameWork}} |
| 118 | \declaremodule{standard}{W} |
| 119 | \platform{Mac} |
| 120 | \modulesynopsis{Widgets for the Mac, built on top of \module{FrameWork}} |
| 121 | |
| 122 | The \module{W} widgets are used extensively in the \program{IDE}. |