⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 allos.html

📁 一本很好的python的说明书,适合对python感兴趣的人
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>6. Generic Operating System Services </title>
<META NAME="description" CONTENT="6. Generic Operating System Services ">
<META NAME="keywords" CONTENT="lib">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="STYLESHEET" href="lib.css" tppabs="http://www.python.org/doc/current/lib/lib.css">
<LINK REL="next" href="someos.html" tppabs="http://www.python.org/doc/current/lib/someos.html">
<LINK REL="previous" href="misc.html" tppabs="http://www.python.org/doc/current/lib/misc.html">
<LINK REL="up" HREF="lib.html" tppabs="http://www.python.org/doc/current/lib/lib.html">
<LINK REL="next" href="module-os.html" tppabs="http://www.python.org/doc/current/lib/module-os.html">
</head>
<body>
<DIV CLASS="navigation"><table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td><A href="shlex-objects.html" tppabs="http://www.python.org/doc/current/lib/shlex-objects.html"><img src="previous.gif" tppabs="http://www.python.org/doc/current/icons/previous.gif" border="0" height="32"
  alt="Previous Page" width="32"></A></td>
<td><A HREF="lib.html" tppabs="http://www.python.org/doc/current/lib/lib.html"><img src="up.gif" tppabs="http://www.python.org/doc/current/icons/up.gif" border="0" height="32"
  alt="Up One Level" width="32"></A></td>
<td><A href="module-os.html" tppabs="http://www.python.org/doc/current/lib/module-os.html"><img src="next.gif" tppabs="http://www.python.org/doc/current/icons/next.gif" border="0" height="32"
  alt="Next Page" width="32"></A></td>
<td align="center" width="100%">Python Library Reference</td>
<td><A href="contents.html" tppabs="http://www.python.org/doc/current/lib/contents.html"><img src="contents.gif" tppabs="http://www.python.org/doc/current/icons/contents.gif" border="0" height="32"
  alt="Contents" width="32"></A></td>
<td><a href="modindex.html" tppabs="http://www.python.org/doc/current/lib/modindex.html" title="Module Index"><img src="modules.gif" tppabs="http://www.python.org/doc/current/icons/modules.gif" border="0" height="32"
  alt="Module Index" width="32"></a></td>
<td><A href="genindex.html" tppabs="http://www.python.org/doc/current/lib/genindex.html"><img src="index.gif" tppabs="http://www.python.org/doc/current/icons/index.gif" border="0" height="32"
  alt="Index" width="32"></A></td>
</tr></table>
<b class="navlabel">Previous:</b> <a class="sectref" href="shlex-objects.html" tppabs="http://www.python.org/doc/current/lib/shlex-objects.html">5.11.1 shlex Objects</A>
<b class="navlabel">Up:</b> <a class="sectref" HREF="lib.html" tppabs="http://www.python.org/doc/current/lib/lib.html">Python Library Reference</A>
<b class="navlabel">Next:</b> <a class="sectref" href="module-os.html" tppabs="http://www.python.org/doc/current/lib/module-os.html">6.1 os  </A>
<br><hr></DIV>
<!--End of Navigation Panel-->

<H1>
<BR>
6. Generic Operating System Services 
</H1>

<P>
The modules described in this chapter provide interfaces to operating
system features that are available on (almost) all operating systems,
such as files and a clock.  The interfaces are generally modeled
after the Unix or C interfaces, but they are available on most
other systems as well.  Here's an overview:

<P>
<table class='synopsistable'>
  <tr><td><b><tt class='module'><a href="module-os.html" tppabs="http://www.python.org/doc/current/lib/module-os.html">os</a></tt></b></td>
      <td class='synopsis'>Miscellaneous OS interfaces.</td></tr>
  <tr><td><b><tt class='module'><a href="module-os.path.html" tppabs="http://www.python.org/doc/current/lib/module-os.path.html">os.path</a></tt></b></td>
      <td class='synopsis'>Common pathname manipulations.</td></tr>
  <tr><td><b><tt class='module'><a href="module-dircache.html" tppabs="http://www.python.org/doc/current/lib/module-dircache.html">dircache</a></tt></b></td>
      <td class='synopsis'>Return directory listing, with cache mechanism.</td></tr>
  <tr><td><b><tt class='module'><a href="module-stat.html" tppabs="http://www.python.org/doc/current/lib/module-stat.html">stat</a></tt></b></td>
      <td class='synopsis'>Utilities for interpreting the results of
  <tt class="function">os.stat()</tt>, <tt class="function">os.lstat()</tt> and <tt class="function">os.fstat()</tt>.</td></tr>
  <tr><td><b><tt class='module'><a href="module-statcache.html" tppabs="http://www.python.org/doc/current/lib/module-statcache.html">statcache</a></tt></b></td>
      <td class='synopsis'>Stat files, and remember results.</td></tr>
  <tr><td><b><tt class='module'><a href="module-statvfs.html" tppabs="http://www.python.org/doc/current/lib/module-statvfs.html">statvfs</a></tt></b></td>
      <td class='synopsis'>Constants for interpreting the result of
                <tt class="function">os.statvfs()</tt>.</td></tr>
  <tr><td><b><tt class='module'><a href="module-filecmp.html" tppabs="http://www.python.org/doc/current/lib/module-filecmp.html">filecmp</a></tt></b></td>
      <td class='synopsis'>Compare files efficiently.</td></tr>
  <tr><td><b><tt class='module'><a href="module-popen2.html" tppabs="http://www.python.org/doc/current/lib/module-popen2.html">popen2</a></tt></b></td>
      <td class='synopsis'>Subprocesses with accessible standard I/O streams.</td></tr>
  <tr><td><b><tt class='module'><a href="module-time.html" tppabs="http://www.python.org/doc/current/lib/module-time.html">time</a></tt></b></td>
      <td class='synopsis'>Time access and conversions.</td></tr>
  <tr><td><b><tt class='module'><a href="module-sched.html" tppabs="http://www.python.org/doc/current/lib/module-sched.html">sched</a></tt></b></td>
      <td class='synopsis'>General purpose event scheduler.</td></tr>
  <tr><td><b><tt class='module'><a href="module-getpass.html" tppabs="http://www.python.org/doc/current/lib/module-getpass.html">getpass</a></tt></b></td>
      <td class='synopsis'>Portable reading of passwords and retrieval of the userid.</td></tr>
  <tr><td><b><tt class='module'><a href="module-curses.html" tppabs="http://www.python.org/doc/current/lib/module-curses.html">curses</a></tt></b></td>
      <td class='synopsis'>An interface to the curses library, providing portable
                terminal handling.</td></tr>
  <tr><td><b><tt class='module'><a href="module-curses.textpad.html" tppabs="http://www.python.org/doc/current/lib/module-curses.textpad.html">curses.textpad</a></tt></b></td>
      <td class='synopsis'>Emacs-like input editing in a curses window.</td></tr>
  <tr><td><b><tt class='module'><a href="module-curses.wrapper.html" tppabs="http://www.python.org/doc/current/lib/module-curses.wrapper.html">curses.wrapper</a></tt></b></td>
      <td class='synopsis'>Terminal configuration wrapper for curses programs.</td></tr>
  <tr><td><b><tt class='module'><a href="module-curses.ascii.html" tppabs="http://www.python.org/doc/current/lib/module-curses.ascii.html">curses.ascii</a></tt></b></td>
      <td class='synopsis'>Constants and set-membership functions for
                ASCII<#15615#><#15615#> characters.</td></tr>
  <tr><td><b><tt class='module'><a href="module-getopt.html" tppabs="http://www.python.org/doc/current/lib/module-getopt.html">getopt</a></tt></b></td>
      <td class='synopsis'>Portable parser for command line options; support both
                short and long option names.</td></tr>
  <tr><td><b><tt class='module'><a href="module-tempfile.html" tppabs="http://www.python.org/doc/current/lib/module-tempfile.html">tempfile</a></tt></b></td>
      <td class='synopsis'>Generate temporary file names.</td></tr>
  <tr><td><b><tt class='module'><a href="module-errno.html" tppabs="http://www.python.org/doc/current/lib/module-errno.html">errno</a></tt></b></td>
      <td class='synopsis'>Standard errno system symbols.</td></tr>
  <tr><td><b><tt class='module'><a href="module-glob.html" tppabs="http://www.python.org/doc/current/lib/module-glob.html">glob</a></tt></b></td>
      <td class='synopsis'>Unix shell style pathname pattern expansion.</td></tr>
  <tr><td><b><tt class='module'><a href="module-fnmatch.html" tppabs="http://www.python.org/doc/current/lib/module-fnmatch.html">fnmatch</a></tt></b></td>
      <td class='synopsis'>Unix shell style filename pattern matching.</td></tr>
  <tr><td><b><tt class='module'><a href="module-shutil.html" tppabs="http://www.python.org/doc/current/lib/module-shutil.html">shutil</a></tt></b></td>
      <td class='synopsis'>High-level file operations, including copying.</td></tr>
  <tr><td><b><tt class='module'><a href="module-locale.html" tppabs="http://www.python.org/doc/current/lib/module-locale.html">locale</a></tt></b></td>
      <td class='synopsis'>Internationalization services.</td></tr>
  <tr><td><b><tt class='module'><a href="module-gettext.html" tppabs="http://www.python.org/doc/current/lib/module-gettext.html">gettext</a></tt></b></td>
      <td class='synopsis'>Multilingual internationalization services.</td></tr>
</table>

<BR>
<DIV CLASS="navigation"><p><hr><table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td><A href="shlex-objects.html" tppabs="http://www.python.org/doc/current/lib/shlex-objects.html"><img src="previous.gif" tppabs="http://www.python.org/doc/current/icons/previous.gif" border="0" height="32"
  alt="Previous Page" width="32"></A></td>
<td><A HREF="lib.html" tppabs="http://www.python.org/doc/current/lib/lib.html"><img src="up.gif" tppabs="http://www.python.org/doc/current/icons/up.gif" border="0" height="32"
  alt="Up One Level" width="32"></A></td>
<td><A href="module-os.html" tppabs="http://www.python.org/doc/current/lib/module-os.html"><img src="next.gif" tppabs="http://www.python.org/doc/current/icons/next.gif" border="0" height="32"
  alt="Next Page" width="32"></A></td>
<td align="center" width="100%">Python Library Reference</td>
<td><A href="contents.html" tppabs="http://www.python.org/doc/current/lib/contents.html"><img src="contents.gif" tppabs="http://www.python.org/doc/current/icons/contents.gif" border="0" height="32"
  alt="Contents" width="32"></A></td>
<td><a href="modindex.html" tppabs="http://www.python.org/doc/current/lib/modindex.html" title="Module Index"><img src="modules.gif" tppabs="http://www.python.org/doc/current/icons/modules.gif" border="0" height="32"
  alt="Module Index" width="32"></a></td>
<td><A href="genindex.html" tppabs="http://www.python.org/doc/current/lib/genindex.html"><img src="index.gif" tppabs="http://www.python.org/doc/current/icons/index.gif" border="0" height="32"
  alt="Index" width="32"></A></td>
</tr></table>
<b class="navlabel">Previous:</b> <a class="sectref" href="shlex-objects.html" tppabs="http://www.python.org/doc/current/lib/shlex-objects.html">5.11.1 shlex Objects</A>
<b class="navlabel">Up:</b> <a class="sectref" HREF="lib.html" tppabs="http://www.python.org/doc/current/lib/lib.html">Python Library Reference</A>
<b class="navlabel">Next:</b> <a class="sectref" href="module-os.html" tppabs="http://www.python.org/doc/current/lib/module-os.html">6.1 os  </A>
</DIV>
<!--End of Navigation Panel-->
<ADDRESS>
<hr>See <i><a href="about.html" tppabs="http://www.python.org/doc/current/lib/about.html">About this document...</a></i> for information on suggesting changes.
</ADDRESS>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -