| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <link rel="STYLESHEET" href="lib.css" type='text/css' /> |
| 5 | <link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" /> |
| 6 | <link rel='start' href='../index.html' title='Python Documentation Index' /> |
| 7 | <link rel="first" href="lib.html" title='Python Library Reference' /> |
| 8 | <link rel='contents' href='contents.html' title="Contents" /> |
| 9 | <link rel='index' href='genindex.html' title='Index' /> |
| 10 | <link rel='last' href='about.html' title='About this document...' /> |
| 11 | <link rel='help' href='about.html' title='About this document...' /> |
| 12 | <link rel="next" href="unix.html" /> |
| 13 | <link rel="prev" href="allos.html" /> |
| 14 | <link rel="parent" href="lib.html" /> |
| 15 | <link rel="next" href="module-signal.html" /> |
| 16 | <meta name='aesop' content='information' /> |
| 17 | <title>7. Optional Operating System Services</title> |
| 18 | </head> |
| 19 | <body> |
| 20 | <DIV CLASS="navigation"> |
| 21 | <div id='top-navigation-panel' xml:id='top-navigation-panel'> |
| 22 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 23 | <tr> |
| 24 | <td class='online-navigation'><a rel="prev" title="6.30.5 Unix Platforms" |
| 25 | href="node370.html"><img src='../icons/previous.png' |
| 26 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 27 | <td class='online-navigation'><a rel="parent" title="Python Library Reference" |
| 28 | href="lib.html"><img src='../icons/up.png' |
| 29 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 30 | <td class='online-navigation'><a rel="next" title="7.1 signal " |
| 31 | href="module-signal.html"><img src='../icons/next.png' |
| 32 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 33 | <td align="center" width="100%">Python Library Reference</td> |
| 34 | <td class='online-navigation'><a rel="contents" title="Table of Contents" |
| 35 | href="contents.html"><img src='../icons/contents.png' |
| 36 | border='0' height='32' alt='Contents' width='32' /></A></td> |
| 37 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 38 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 39 | <td class='online-navigation'><a rel="index" title="Index" |
| 40 | href="genindex.html"><img src='../icons/index.png' |
| 41 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 42 | </tr></table> |
| 43 | <div class='online-navigation'> |
| 44 | <b class="navlabel">Previous:</b> |
| 45 | <a class="sectref" rel="prev" href="node370.html">6.30.5 Unix Platforms</A> |
| 46 | <b class="navlabel">Up:</b> |
| 47 | <a class="sectref" rel="parent" href="lib.html">Python Library Reference</A> |
| 48 | <b class="navlabel">Next:</b> |
| 49 | <a class="sectref" rel="next" href="module-signal.html">7.1 signal </A> |
| 50 | </div> |
| 51 | <hr /></div> |
| 52 | </DIV> |
| 53 | <!--End of Navigation Panel--> |
| 54 | |
| 55 | <H1><A NAME="SECTION009000000000000000000"></A> |
| 56 | <A NAME="someos"></A> |
| 57 | <BR> |
| 58 | 7. Optional Operating System Services |
| 59 | </H1> |
| 60 | |
| 61 | <P> |
| 62 | The modules described in this chapter provide interfaces to operating |
| 63 | system features that are available on selected operating systems only. |
| 64 | The interfaces are generally modeled after the <span class="Unix">Unix</span> or C |
| 65 | interfaces but they are available on some other systems as well |
| 66 | (e.g. Windows or NT). Here's an overview: |
| 67 | |
| 68 | <P> |
| 69 | <table class='synopsistable' valign='baseline'> |
| 70 | <tr class='oddrow'> |
| 71 | <td><b><tt class='module'><a href='module-signal.html'>signal</a></tt></b></td> |
| 72 | <td> </td> |
| 73 | <td class='synopsis'>Set handlers for asynchronous events.</td></tr> |
| 74 | <tr><td><b><tt class='module'><a href='module-socket.html'>socket</a></tt></b></td> |
| 75 | <td> </td> |
| 76 | <td class='synopsis'>Low-level networking interface.</td></tr> |
| 77 | <tr class='oddrow'> |
| 78 | <td><b><tt class='module'><a href='module-select.html'>select</a></tt></b></td> |
| 79 | <td> </td> |
| 80 | <td class='synopsis'>Wait for I/O completion on multiple streams.</td></tr> |
| 81 | <tr><td><b><tt class='module'><a href='module-thread.html'>thread</a></tt></b></td> |
| 82 | <td> </td> |
| 83 | <td class='synopsis'>Create multiple threads of control within one interpreter.</td></tr> |
| 84 | <tr class='oddrow'> |
| 85 | <td><b><tt class='module'><a href='module-threading.html'>threading</a></tt></b></td> |
| 86 | <td> </td> |
| 87 | <td class='synopsis'>Higher-level threading interface.</td></tr> |
| 88 | <tr><td><b><tt class='module'><a href='module-dummythread.html'>dummy_thread</a></tt></b></td> |
| 89 | <td> </td> |
| 90 | <td class='synopsis'>Drop-in replacement for the <tt class="module"><a href="module-thread.html">thread</a></tt> module.</td></tr> |
| 91 | <tr class='oddrow'> |
| 92 | <td><b><tt class='module'><a href='module-dummythreading.html'>dummy_threading</a></tt></b></td> |
| 93 | <td> </td> |
| 94 | <td class='synopsis'>Drop-in replacement for the <tt class="module"><a href="module-threading.html">threading</a></tt> module.</td></tr> |
| 95 | <tr><td><b><tt class='module'><a href='module-Queue.html'>Queue</a></tt></b></td> |
| 96 | <td> </td> |
| 97 | <td class='synopsis'>A synchronized queue class.</td></tr> |
| 98 | <tr class='oddrow'> |
| 99 | <td><b><tt class='module'><a href='module-mmap.html'>mmap</a></tt></b></td> |
| 100 | <td> </td> |
| 101 | <td class='synopsis'>Interface to memory-mapped files for <span class="Unix">Unix</span> and Windows.</td></tr> |
| 102 | <tr><td><b><tt class='module'><a href='module-anydbm.html'>anydbm</a></tt></b></td> |
| 103 | <td> </td> |
| 104 | <td class='synopsis'>Generic interface to DBM-style database modules.</td></tr> |
| 105 | <tr class='oddrow'> |
| 106 | <td><b><tt class='module'><a href='module-dbhash.html'>dbhash</a></tt></b></td> |
| 107 | <td> </td> |
| 108 | <td class='synopsis'>DBM-style interface to the BSD database library.</td></tr> |
| 109 | <tr><td><b><tt class='module'><a href='module-whichdb.html'>whichdb</a></tt></b></td> |
| 110 | <td> </td> |
| 111 | <td class='synopsis'>Guess which DBM-style module created a given database.</td></tr> |
| 112 | <tr class='oddrow'> |
| 113 | <td><b><tt class='module'><a href='module-bsddb.html'>bsddb</a></tt></b></td> |
| 114 | <td> </td> |
| 115 | <td class='synopsis'>Interface to Berkeley DB database library</td></tr> |
| 116 | <tr><td><b><tt class='module'><a href='module-dumbdbm.html'>dumbdbm</a></tt></b></td> |
| 117 | <td> </td> |
| 118 | <td class='synopsis'>Portable implementation of the simple DBM interface.</td></tr> |
| 119 | <tr class='oddrow'> |
| 120 | <td><b><tt class='module'><a href='module-zlib.html'>zlib</a></tt></b></td> |
| 121 | <td> </td> |
| 122 | <td class='synopsis'>Low-level interface to compression and decompression |
| 123 | routines compatible with <b class="program">gzip</b>.</td></tr> |
| 124 | <tr><td><b><tt class='module'><a href='module-gzip.html'>gzip</a></tt></b></td> |
| 125 | <td> </td> |
| 126 | <td class='synopsis'>Interfaces for <b class="program">gzip</b> compression and |
| 127 | decompression using file objects.</td></tr> |
| 128 | <tr class='oddrow'> |
| 129 | <td><b><tt class='module'><a href='module-bz2.html'>bz2</a></tt></b></td> |
| 130 | <td> </td> |
| 131 | <td class='synopsis'>Interface to compression and decompression |
| 132 | routines compatible with <b class="program">bzip2</b>.</td></tr> |
| 133 | <tr><td><b><tt class='module'><a href='module-zipfile.html'>zipfile</a></tt></b></td> |
| 134 | <td> </td> |
| 135 | <td class='synopsis'>Read and write ZIP-format archive files.</td></tr> |
| 136 | <tr class='oddrow'> |
| 137 | <td><b><tt class='module'><a href='module-tarfile.html'>tarfile</a></tt></b></td> |
| 138 | <td> </td> |
| 139 | <td class='synopsis'>Read and write tar-format archive files.</td></tr> |
| 140 | <tr><td><b><tt class='module'><a href='module-readline.html'>readline</a></tt></b></td> |
| 141 | <td> </td> |
| 142 | <td class='synopsis'>GNU readline support for Python.</td></tr> |
| 143 | <tr class='oddrow'> |
| 144 | <td><b><tt class='module'><a href='module-rlcompleter.html'>rlcompleter</a></tt></b></td> |
| 145 | <td> </td> |
| 146 | <td class='synopsis'>Python identifier completion for the GNU readline library.</td></tr> |
| 147 | </table> |
| 148 | |
| 149 | <BR> |
| 150 | <DIV CLASS="navigation"> |
| 151 | <div class='online-navigation'> |
| 152 | <p></p><hr /> |
| 153 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 154 | <tr> |
| 155 | <td class='online-navigation'><a rel="prev" title="6.30.5 Unix Platforms" |
| 156 | href="node370.html"><img src='../icons/previous.png' |
| 157 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 158 | <td class='online-navigation'><a rel="parent" title="Python Library Reference" |
| 159 | href="lib.html"><img src='../icons/up.png' |
| 160 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 161 | <td class='online-navigation'><a rel="next" title="7.1 signal " |
| 162 | href="module-signal.html"><img src='../icons/next.png' |
| 163 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 164 | <td align="center" width="100%">Python Library Reference</td> |
| 165 | <td class='online-navigation'><a rel="contents" title="Table of Contents" |
| 166 | href="contents.html"><img src='../icons/contents.png' |
| 167 | border='0' height='32' alt='Contents' width='32' /></A></td> |
| 168 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 169 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 170 | <td class='online-navigation'><a rel="index" title="Index" |
| 171 | href="genindex.html"><img src='../icons/index.png' |
| 172 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 173 | </tr></table> |
| 174 | <div class='online-navigation'> |
| 175 | <b class="navlabel">Previous:</b> |
| 176 | <a class="sectref" rel="prev" href="node370.html">6.30.5 Unix Platforms</A> |
| 177 | <b class="navlabel">Up:</b> |
| 178 | <a class="sectref" rel="parent" href="lib.html">Python Library Reference</A> |
| 179 | <b class="navlabel">Next:</b> |
| 180 | <a class="sectref" rel="next" href="module-signal.html">7.1 signal </A> |
| 181 | </div> |
| 182 | </div> |
| 183 | <hr /> |
| 184 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> |
| 185 | </DIV> |
| 186 | <!--End of Navigation Panel--> |
| 187 | <ADDRESS> |
| 188 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. |
| 189 | </ADDRESS> |
| 190 | </BODY> |
| 191 | </HTML> |