6. Podstawowe usługi systemu operacyjnego

Moduły opisane w tym rozdziale udostępniają interfejsy do cech systemu operacyjnego, które dostępne są w (prawie) każdym systemie, np. operacje na plikach, czy informacje na temat czasu. Interfejsy są w większości oparte na tych, które oferuje system Unix oraz biblioteka języka C, lecz dostępne są one również w innych systemach. Oto zostawienie modułów:

os   Rozmaite interfejsy systemu operacyjnego.
os.path   Common pathname manipulations.
dircache   Return directory listing, with cache mechanism.
stat   Utilities for interpreting the results of os.stat(), os.lstat() and os.fstat().
statcache   Stat files, and remember results.
statvfs   Constants for interpreting the result of os.statvfs().
filecmp   Compare files efficiently.
popen2   Subprocesses with accessible standard I/O streams.
datetime   Basic date and time types.
time   Time access and conversions.
sched   General purpose event scheduler.
mutex   Lock and queue for mutual exclusion.
getpass   Portable reading of passwords and retrieval of the userid.
curses   An interface to the curses library, providing portable terminal handling.
curses.textpad   Emacs-like input editing in a curses window.
curses.wrapper   Terminal configuration wrapper for curses programs.
curses.ascii   Constants and set-membership functions for ASCII characters.
curses.panel   A panel stack extension that adds depth to curses windows.
getopt   Portable parser for command line options; support both short and long option names.
optparse   Powerful, flexible, extensible, easy-to-use command-line parsing library.
tempfile   Generate temporary files and directories.
errno   Standard errno system symbols.
glob   Unix shell style pathname pattern expansion.
fnmatch   Unix shell style filename pattern matching.
shutil   High-level file operations, including copying.
locale   Internationalization services.
gettext   Multilingual internationalization services.
logging   Logging module for Python based on PEP 282.

Zajrzyj do Informacji na temat tej publikacji... aby pomóc w jej rozwoju.