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 | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 61 | \item[linecache.py] |
| 62 | --- Cache lines from files (used by pdb) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 63 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 64 | \item[pipes.py] |
| 65 | --- Conversion pipeline templates (hmm) |
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[statcache.py] |
| 68 | --- Maintain a cache of file stats |
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[colorsys.py] |
| 71 | --- Conversion between RGB and other color systems |
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[dbhash.py] |
| 74 | --- (g)dbm-like wrapper for bsdhash.hashopen |
Guido van Rossum | 1508538 | 1997-04-03 23:49:28 +0000 | [diff] [blame] | 75 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 76 | \item[mhlib.py] |
| 77 | --- MH interface |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 78 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 79 | \item[pty.py] |
| 80 | --- Pseudo terminal utilities |
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[tty.py] |
| 83 | --- 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[bdb.py] |
| 86 | --- A generic Python debugger base class (used by pdb) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 87 | |
Fred Drake | 6b9ff72 | 1998-04-07 19:09:32 +0000 | [diff] [blame] | 88 | \item[wdb.py] |
| 89 | --- A primitive windowing debugger based on STDWIN. |
| 90 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 91 | \item[ihooks.py] |
| 92 | --- Import hook support (for rexec) |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 93 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 94 | |
Guido van Rossum | 9085822 | 1997-08-15 02:52:46 +0000 | [diff] [blame] | 95 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 96 | \section{Parsing Python} |
| 97 | |
| 98 | (One could argue that these should all be documented together with the |
Fred Drake | c211254 | 1997-10-06 21:41:30 +0000 | [diff] [blame] | 99 | parser module.) |
Guido van Rossum | cfaf143 | 1997-07-16 15:48:20 +0000 | [diff] [blame] | 100 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 101 | \begin{description} |
| 102 | \item[tokenize.py] |
| 103 | --- regular expression that recognizes Python tokens; also |
Guido van Rossum | 9085822 | 1997-08-15 02:52:46 +0000 | [diff] [blame] | 104 | contains helper code for colorizing Python source code. |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 105 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 106 | \item[pyclbr.py] |
| 107 | --- Parse a Python file and retrieve classes and methods |
| 108 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 109 | |
| 110 | |
| 111 | \section{Platform specific modules} |
| 112 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 113 | \begin{description} |
| 114 | \item[ntpath.py] |
| 115 | --- equivalent of posixpath on 32-bit Windows |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 116 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 117 | \item[dospath.py] |
| 118 | --- equivalent of posixpath on MS-DOS |
| 119 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 120 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 121 | |
| 122 | \section{Code objects and files, debugger etc.} |
| 123 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 124 | \begin{description} |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 125 | \item[repr.py] |
| 126 | --- Redo the `...` (representation) but with limits on most |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 127 | sizes (used by pdb) |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 128 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 129 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 130 | |
| 131 | \section{Multimedia} |
| 132 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 133 | \begin{description} |
| 134 | \item[audiodev.py] |
| 135 | --- Plays audio files |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 136 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 137 | \item[sunau.py] |
| 138 | --- parse Sun and NeXT 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[sunaudio.py] |
| 141 | --- interpret sun audio headers |
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[toaiff.py] |
| 144 | --- Convert "arbitrary" sound files to AIFF files |
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[wave.py] |
| 147 | --- parse WAVE files |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 148 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 149 | |
| 150 | |
| 151 | \section{Oddities} |
| 152 | |
| 153 | These modules are probably also obsolete, or just not very useful. |
| 154 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 155 | \begin{description} |
| 156 | \item[dump.py] |
| 157 | --- Print python code that reconstructs a variable |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 158 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 159 | \item[find.py] |
| 160 | --- find files matching pattern in directory tree |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 161 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 162 | \item[fpformat.py] |
| 163 | --- General floating point formatting functions --- |
Fred Drake | 71c1e50 | 1998-04-04 07:03:19 +0000 | [diff] [blame] | 164 | interesting demonstration of how to do this without using the \C{} |
| 165 | library |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 166 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 167 | \item[grep.py] |
| 168 | --- grep |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 169 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 170 | \item[mutex.py] |
| 171 | --- Mutual exclusion --- for use with module sched |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 172 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 173 | \item[packmail.py] |
| 174 | --- create a self-unpacking \UNIX{} shell archive |
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[sched.py] |
| 177 | --- event scheduler class |
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[util.py] |
| 180 | --- useful functions that don't fit elsewhere |
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[tzparse.py] |
| 183 | --- Parse a timezone specification (unfinished) |
| 184 | \end{description} |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 185 | |
| 186 | |
| 187 | \section{Obsolete} |
| 188 | |
Fred Drake | 71c1e50 | 1998-04-04 07:03:19 +0000 | [diff] [blame] | 189 | These modules are not on the standard module search path; |
| 190 | \indexiii{module}{search}{path} |
| 191 | but are available in the directory \file{lib-old/} installed under |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 192 | \file{\textrm{\$prefix}/lib/python1.5/}. % $ <-- bow to font lock |
| 193 | To use any of these modules, add that directory to \code{sys.path}, |
| 194 | possibly using \envvar{PYTHONPATH}. |
Guido van Rossum | cfaf143 | 1997-07-16 15:48:20 +0000 | [diff] [blame] | 195 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 196 | \begin{description} |
| 197 | \item[newdir.py] |
| 198 | --- New dir() function (the standard dir() is now just as good) |
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[addpack.py] |
| 201 | --- standard support for "packages" |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 202 | |
Fred Drake | 9ed1a0af | 1998-11-02 15:46:21 +0000 | [diff] [blame] | 203 | \item[codehack.py] |
| 204 | --- Extract function name or line number from a function |
| 205 | code object (these are now accessible as attributes: co.co_name, |
| 206 | func.func_name, co.co_firstlineno). |
| 207 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 208 | \item[fmt.py] |
| 209 | --- text formatting abstractions (too slow) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 210 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 211 | \item[Para.py] |
| 212 | --- helper for fmt.py |
Fred Drake | 71c1e50 | 1998-04-04 07:03:19 +0000 | [diff] [blame] | 213 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 214 | \item[lockfile.py] |
| 215 | --- wrapper around FCNTL file locking (use |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 216 | \function{fcntl.lockf()}/\function{flock()} intead) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 217 | |
Fred Drake | 9ed1a0af | 1998-11-02 15:46:21 +0000 | [diff] [blame] | 218 | \item[poly.py] |
| 219 | --- Polynomials |
| 220 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 221 | \item[tb.py] |
| 222 | --- Print tracebacks, with a dump of local variables (use |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 223 | \function{pdb.pm()} or \module{traceback} instead) |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 224 | |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 225 | \item[timingmodule] |
| 226 | --- Measure time intervals to high resolution (use |
| 227 | \function{time.clock()} instead). (This is an extension module.) |
Fred Drake | 9ed1a0af | 1998-11-02 15:46:21 +0000 | [diff] [blame] | 228 | |
Fred Drake | 60adb36 | 1999-01-05 23:09:12 +0000 | [diff] [blame^] | 229 | \item[whatsound.py] |
| 230 | --- recognizing sound files |
| 231 | |
Fred Drake | 9ed1a0af | 1998-11-02 15:46:21 +0000 | [diff] [blame] | 232 | \item[zmod.py] |
| 233 | --- Compute properties of mathematical "fields" |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 234 | \end{description} |
Guido van Rossum | 61c2703 | 1997-07-18 21:08:07 +0000 | [diff] [blame] | 235 | |
Fred Drake | 20ca917 | 1998-04-09 14:32:28 +0000 | [diff] [blame] | 236 | The following modules were documented in previous versions of this |
| 237 | manual, but are now considered obsolete: |
| 238 | |
| 239 | \begin{description} |
| 240 | \item[ni] |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 241 | --- Import modules in ``packages.'' Basic package support is now |
| 242 | built in. |
Fred Drake | 20ca917 | 1998-04-09 14:32:28 +0000 | [diff] [blame] | 243 | |
| 244 | \item[rand] |
| 245 | --- Old interface to the random number generator. |
| 246 | |
| 247 | \item[soundex] |
| 248 | --- Algorithm for collapsing names which sound similar to a shared |
| 249 | key. (This is an extension module.) |
| 250 | \end{description} |
| 251 | |
Guido van Rossum | 612316f | 1997-03-14 04:12:52 +0000 | [diff] [blame] | 252 | |
| 253 | \section{Extension modules} |
| 254 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 255 | \begin{description} |
| 256 | \item[bsddbmodule.c] |
| 257 | --- Interface to the Berkeley DB interface (yet another |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 258 | dbm clone). |
| 259 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 260 | \item[cursesmodule.c] |
| 261 | --- Curses interface. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 262 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 263 | \item[dlmodule.c] |
| 264 | --- A highly experimental and dangerous device for calling |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 265 | arbitrary \C{} functions in arbitrary shared libraries. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 266 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 267 | \item[newmodule.c] |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 268 | --- Tommy Burnette's \module{new} module (creates new empty objects of |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 269 | certain kinds) --- dangerous. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 270 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 271 | \item[nismodule.c] |
| 272 | --- NIS (a.k.a. Sun's Yellow Pages) interface. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 273 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 274 | \item[stdwinmodule.c] |
| 275 | --- Interface to STDWIN (an old, unsupported |
Guido van Rossum | b9ee9c2 | 1997-06-02 17:34:02 +0000 | [diff] [blame] | 276 | platform-independent GUI package). Obsolete; use Tkinter for a |
| 277 | platform-independent GUI instead. |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 278 | \end{description} |
Guido van Rossum | b9ee9c2 | 1997-06-02 17:34:02 +0000 | [diff] [blame] | 279 | |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 280 | The following are SGI specific: |
| 281 | |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 282 | \begin{description} |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 283 | \item[clmodule.c] |
| 284 | --- Interface to the SGI compression library. |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 285 | |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 286 | \item[svmodule.c] |
| 287 | --- Interface to the ``simple video'' board on SGI Indigo |
Guido van Rossum | 8d2893b | 1997-03-27 20:57:52 +0000 | [diff] [blame] | 288 | (obsolete hardware). |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 289 | \end{description} |
Guido van Rossum | 9bdc436 | 1998-03-03 02:00:14 +0000 | [diff] [blame] | 290 | |
| 291 | The following is Windows specific: |
| 292 | |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 293 | \begin{description} |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 294 | \item[msvcrtmodule.c] |
| 295 | (in directory \file{PC/}) --- define a number of Windows |
Fred Drake | 3700b6f | 1998-08-07 16:02:28 +0000 | [diff] [blame] | 296 | specific goodies like \function{khbit()}, \function{getch()} and |
| 297 | \function{setmode()}. (Windows 95 and NT only.) |
Fred Drake | 272fb3a | 1998-04-07 14:15:28 +0000 | [diff] [blame] | 298 | \end{description} |