Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 1 | \chapter{Undocumented Modules} |
Fred Drake | 710c035 | 1998-02-18 15:47:17 +0000 | [diff] [blame] | 2 | \label{undoc} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 3 | |
| 4 | Here's a quick listing of modules that are currently undocumented, but |
| 5 | that should be documented. Feel free to contribute documentation for |
| 6 | them! (The idea and most contents for this chapter were taken from a |
| 7 | posting by Fredrik Lundh; I have revised some modules' status.) |
| 8 | |
| 9 | |
Fred Drake | a007c13 | 1997-12-29 21:32:26 +0000 | [diff] [blame] | 10 | \section{Frameworks; somewhat harder to document, but well worth the effort} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 11 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 12 | \begin{description} |
| 13 | \item[Tkinter.py] |
| 14 | --- Interface to Tcl/Tk for graphical user interfaces; |
Guido van Rossum | 1508538 | 1997-04-03 23:49:28 +0000 | [diff] [blame] | 15 | Fredrik Lundh is working on this one! |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 16 | |
Fred Drake | 95638f5 | 1998-04-14 04:55:43 +0000 | [diff] [blame] | 17 | \item[Tkdnd.py] |
| 18 | --- Drag-and-drop support for \module{Tkinter}. |
| 19 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 20 | \item[CGIHTTPServer.py] |
| 21 | --- CGI-savvy HTTP Server |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 22 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 23 | \item[SimpleHTTPServer.py] |
| 24 | --- Simple HTTP Server |
Fred Drake | 211f22c | 1998-08-11 18:13:31 +0000 | [diff] [blame] | 25 | |
| 26 | \item[test] |
| 27 | --- Regression testing framework. This is used for the Python |
| 28 | regression test, but is useful for other Python libraries as well. |
| 29 | This is a package rather than a module. |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 30 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 31 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 32 | |
| 33 | \section{Stuff useful to a lot of people, including the CGI crowd} |
| 34 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 35 | \begin{description} |
| 36 | \item[MimeWriter.py] |
| 37 | --- Generic MIME writer |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 38 | \end{description} |
Guido van Rossum | 00f1569 | 1997-11-24 17:50:09 +0000 | [diff] [blame] | 39 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 40 | |
| 41 | \section{Miscellaneous useful utilities} |
| 42 | |
| 43 | Some of these are very old and/or not very robust; marked with ``hmm''. |
| 44 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 45 | \begin{description} |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 46 | \item[ConfigParser.py] |
| 47 | --- Parse a file of sectioned configuration parameters |
Guido van Rossum | 5de1eb9 | 1997-12-30 04:41:56 +0000 | [diff] [blame] | 48 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 49 | \item[cmp.py] |
| 50 | --- Efficiently compare files |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 51 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 52 | \item[cmpcache.py] |
| 53 | --- Efficiently compare files (uses statcache) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 54 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 55 | \item[dircache.py] |
| 56 | --- like os.listdir, but caches results |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 57 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 58 | \item[dircmp.py] |
| 59 | --- class to build directory diff tools on |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 60 | |
Fred Drake | 68fede7 | 1998-04-13 20:31:31 +0000 | [diff] [blame] | 61 | \item[getpass.py] |
| 62 | --- Utilities to get a password and/or the current user name. |
| 63 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 64 | \item[linecache.py] |
| 65 | --- Cache lines from files (used by pdb) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 66 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 67 | \item[pipes.py] |
| 68 | --- Conversion pipeline templates (hmm) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 69 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 70 | \item[statcache.py] |
| 71 | --- Maintain a cache of file stats |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 72 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 73 | \item[colorsys.py] |
| 74 | --- Conversion between RGB and other color systems |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 75 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 76 | \item[dbhash.py] |
| 77 | --- (g)dbm-like wrapper for bsdhash.hashopen |
Guido van Rossum | 1508538 | 1997-04-03 23:49:28 +0000 | [diff] [blame] | 78 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 79 | \item[mhlib.py] |
| 80 | --- MH interface |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 81 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 82 | \item[pty.py] |
| 83 | --- Pseudo terminal utilities |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 84 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 85 | \item[tty.py] |
| 86 | --- Terminal utilities |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 87 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 88 | \item[bdb.py] |
| 89 | --- A generic Python debugger base class (used by pdb) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 90 | |
Fred Drake | 6b9ff72 | 1998-04-07 19:09:32 +0000 | [diff] [blame] | 91 | \item[wdb.py] |
| 92 | --- A primitive windowing debugger based on STDWIN. |
| 93 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 94 | \item[ihooks.py] |
| 95 | --- Import hook support (for rexec) |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 96 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 97 | |
Guido van Rossum | 9085822 | 1997-08-15 02:52:46 +0000 | [diff] [blame] | 98 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 99 | \section{Parsing Python} |
| 100 | |
| 101 | (One could argue that these should all be documented together with the |
Fred Drake | c211254 | 1997-10-06 21:41:30 +0000 | [diff] [blame] | 102 | parser module.) |
Guido van Rossum | cfaf143 | 1997-07-16 15:48:20 +0000 | [diff] [blame] | 103 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 104 | \begin{description} |
| 105 | \item[tokenize.py] |
| 106 | --- regular expression that recognizes Python tokens; also |
Guido van Rossum | 9085822 | 1997-08-15 02:52:46 +0000 | [diff] [blame] | 107 | contains helper code for colorizing Python source code. |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 108 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 109 | \item[pyclbr.py] |
| 110 | --- Parse a Python file and retrieve classes and methods |
| 111 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 112 | |
| 113 | |
| 114 | \section{Platform specific modules} |
| 115 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 116 | \begin{description} |
| 117 | \item[ntpath.py] |
| 118 | --- equivalent of posixpath on 32-bit Windows |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 119 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 120 | \item[dospath.py] |
| 121 | --- equivalent of posixpath on MS-DOS |
| 122 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 123 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 124 | |
| 125 | \section{Code objects and files, debugger etc.} |
| 126 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 127 | \begin{description} |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 128 | \item[repr.py] |
| 129 | --- Redo the `...` (representation) but with limits on most |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 130 | sizes (used by pdb) |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 131 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 132 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 133 | |
| 134 | \section{Multimedia} |
| 135 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 136 | \begin{description} |
| 137 | \item[audiodev.py] |
| 138 | --- Plays audio files |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 139 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 140 | \item[sunau.py] |
| 141 | --- parse Sun and NeXT audio files |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 142 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 143 | \item[sunaudio.py] |
| 144 | --- interpret sun audio headers |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 145 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 146 | \item[toaiff.py] |
| 147 | --- Convert "arbitrary" sound files to AIFF files |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 148 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 149 | \item[sndhdr.py] |
| 150 | --- recognizing sound files |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 151 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 152 | \item[wave.py] |
| 153 | --- parse WAVE files |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 154 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 155 | \item[whatsound.py] |
| 156 | --- recognizing sound files |
| 157 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 158 | |
| 159 | |
| 160 | \section{Oddities} |
| 161 | |
| 162 | These modules are probably also obsolete, or just not very useful. |
| 163 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 164 | \begin{description} |
| 165 | \item[dump.py] |
| 166 | --- Print python code that reconstructs a variable |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 167 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 168 | \item[find.py] |
| 169 | --- find files matching pattern in directory tree |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 170 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 171 | \item[fpformat.py] |
| 172 | --- General floating point formatting functions --- |
Fred Drake | 71c1e50 | 1998-04-04 07:03:19 +0000 | [diff] [blame] | 173 | interesting demonstration of how to do this without using the \C{} |
| 174 | library |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 175 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 176 | \item[grep.py] |
| 177 | --- grep |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 178 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 179 | \item[mutex.py] |
| 180 | --- Mutual exclusion --- for use with module sched |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 181 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 182 | \item[packmail.py] |
| 183 | --- create a self-unpacking \UNIX{} shell archive |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 184 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 185 | \item[poly.py] |
| 186 | --- Polynomials |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 187 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 188 | \item[sched.py] |
| 189 | --- event scheduler class |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 190 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 191 | \item[shutil.py] |
| 192 | --- utility functions usable in a shell-like program |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 193 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 194 | \item[util.py] |
| 195 | --- useful functions that don't fit elsewhere |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 196 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 197 | \item[zmod.py] |
| 198 | --- Compute properties of mathematical "fields" |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 199 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 200 | \item[tzparse.py] |
| 201 | --- Parse a timezone specification (unfinished) |
| 202 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 203 | |
| 204 | |
| 205 | \section{Obsolete} |
| 206 | |
Fred Drake | 71c1e50 | 1998-04-04 07:03:19 +0000 | [diff] [blame] | 207 | These modules are not on the standard module search path; |
| 208 | \indexiii{module}{search}{path} |
| 209 | but are available in the directory \file{lib-old/} installed under |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 210 | \file{\textrm{\$prefix}/lib/python1.5/}. % $ <-- bow to font lock |
| 211 | To use any of these modules, add that directory to \code{sys.path}, |
| 212 | possibly using \envvar{PYTHONPATH}. |
Guido van Rossum | cfaf143 | 1997-07-16 15:48:20 +0000 | [diff] [blame] | 213 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 214 | \begin{description} |
| 215 | \item[newdir.py] |
| 216 | --- New dir() function (the standard dir() is now just as good) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 217 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 218 | \item[addpack.py] |
| 219 | --- standard support for "packages" |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 220 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 221 | \item[fmt.py] |
| 222 | --- text formatting abstractions (too slow) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 223 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 224 | \item[Para.py] |
| 225 | --- helper for fmt.py |
Fred Drake | 71c1e50 | 1998-04-04 07:03:19 +0000 | [diff] [blame] | 226 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 227 | \item[lockfile.py] |
| 228 | --- wrapper around FCNTL file locking (use |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 229 | \function{fcntl.lockf()}/\function{flock()} intead) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 230 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 231 | \item[tb.py] |
| 232 | --- Print tracebacks, with a dump of local variables (use |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 233 | \function{pdb.pm()} or \module{traceback} instead) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 234 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 235 | \item[codehack.py] |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 236 | --- Extract function name or line number from a function |
Guido van Rossum | 61c2703 | 1997-07-18 21:08:07 +0000 | [diff] [blame] | 237 | code object (these are now accessible as attributes: co.co_name, |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 238 | func.func_name, co.co_firstlineno). |
| 239 | |
| 240 | \item[timingmodule] |
| 241 | --- Measure time intervals to high resolution (use |
| 242 | \function{time.clock()} instead). (This is an extension module.) |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 243 | \end{description} |
Guido van Rossum | 61c2703 | 1997-07-18 21:08:07 +0000 | [diff] [blame] | 244 | |
Fred Drake | 20ca917 | 1998-04-09 14:32:28 +0000 | [diff] [blame] | 245 | The following modules were documented in previous versions of this |
| 246 | manual, but are now considered obsolete: |
| 247 | |
| 248 | \begin{description} |
| 249 | \item[ni] |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 250 | --- Import modules in ``packages.'' Basic package support is now |
| 251 | built in. |
Fred Drake | 20ca917 | 1998-04-09 14:32:28 +0000 | [diff] [blame] | 252 | |
| 253 | \item[rand] |
| 254 | --- Old interface to the random number generator. |
| 255 | |
| 256 | \item[soundex] |
| 257 | --- Algorithm for collapsing names which sound similar to a shared |
| 258 | key. (This is an extension module.) |
| 259 | \end{description} |
| 260 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 261 | |
| 262 | \section{Extension modules} |
| 263 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 264 | \begin{description} |
| 265 | \item[bsddbmodule.c] |
| 266 | --- Interface to the Berkeley DB interface (yet another |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 267 | dbm clone). |
| 268 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 269 | \item[cursesmodule.c] |
| 270 | --- Curses interface. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 271 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 272 | \item[dlmodule.c] |
| 273 | --- A highly experimental and dangerous device for calling |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 274 | arbitrary \C{} functions in arbitrary shared libraries. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 275 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 276 | \item[newmodule.c] |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 277 | --- Tommy Burnette's \module{new} module (creates new empty objects of |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 278 | certain kinds) --- dangerous. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 279 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 280 | \item[nismodule.c] |
| 281 | --- NIS (a.k.a. Sun's Yellow Pages) interface. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 282 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 283 | \item[stdwinmodule.c] |
| 284 | --- Interface to STDWIN (an old, unsupported |
Guido van Rossum | b9ee9c2 | 1997-06-02 17:34:02 +0000 | [diff] [blame] | 285 | platform-independent GUI package). Obsolete; use Tkinter for a |
| 286 | platform-independent GUI instead. |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 287 | \end{description} |
Guido van Rossum | b9ee9c2 | 1997-06-02 17:34:02 +0000 | [diff] [blame] | 288 | |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 289 | The following are SGI specific: |
| 290 | |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 291 | \begin{description} |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 292 | \item[clmodule.c] |
| 293 | --- Interface to the SGI compression library. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 294 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 295 | \item[svmodule.c] |
| 296 | --- Interface to the ``simple video'' board on SGI Indigo |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 297 | (obsolete hardware). |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 298 | \end{description} |
Guido van Rossum | 9bdc436 | 1998-03-03 02:00:14 +0000 | [diff] [blame] | 299 | |
| 300 | The following is Windows specific: |
| 301 | |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 302 | \begin{description} |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 303 | \item[msvcrtmodule.c] |
| 304 | (in directory \file{PC/}) --- define a number of Windows |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 305 | specific goodies like \function{khbit()}, \function{getch()} and |
| 306 | \function{setmode()}. (Windows 95 and NT only.) |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 307 | \end{description} |