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