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