ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
Python Documentation
Library Reference
Front Matter
Contents
1. Introduction
2. Built-In Objects
3. Python Runtime Services
4. String Services
5. Miscellaneous Services
6. Generic Operating System Services
6.1 os -- Miscellaneous operating system interfaces
6.2 os.path -- Common pathname manipulations
6.3 dircache -- Cached directory listings
6.4 stat -- Interpreting stat() results
6.5 statcache -- An optimization of os.stat()
6.6 statvfs -- Constants used with os.statvfs()
6.7 filecmp -- File and Directory Comparisons
6.8 subprocess -- Subprocess management
6.9 popen2 -- Subprocesses with accessible I/O streams
6.10 datetime -- Basic date and time types
6.11 time -- Time access and conversions
6.12 sched -- Event scheduler
6.13 mutex -- Mutual exclusion support
6.14 getpass -- Portable password input
6.15 curses -- Terminal handling for character-cell displays
6.16 curses.textpad -- Text input widget for curses programs
6.17 curses.wrapper -- Terminal handler for curses programs
6.18 curses.ascii -- Utilities for ASCII characters
6.19 curses.panel -- A panel stack extension for curses.
6.20 getopt -- Parser for command line options
6.21 optparse -- More powerful command line option parser
6.22 tempfile -- Generate temporary files and directories
6.23 errno -- Standard errno system symbols
6.24 glob -- Unix style pathname pattern expansion
6.25 fnmatch -- Unix filename pattern matching
6.26 shutil -- High-level file operations
6.27 locale -- Internationalization services
6.28 gettext -- Multilingual internationalization services
6.29 logging -- Logging facility for Python
6.30 platform -- Access to underlying platform's identifying data.
7. Optional Operating System Services
8. Unix Specific Services
9. The Python Debugger
10. The Python Profiler
11. Internet Protocols and Support
12. Internet Data Handling
13. Structured Markup Processing Tools
14. Multimedia Services
15. Cryptographic Services
16. Graphical User Interfaces with Tk
17. Restricted Execution
18. Python Language Services
19. Python compiler package
20. SGI IRIX Specific Services
21. SunOS Specific Services
22. MS Windows Specific Services
A. Undocumented Modules
B. Reporting Bugs
C. History and License
Module Index
Index
About this document ...

MyASPN >> Reference >> ActivePython 2.4 >> Python Documentation >> Library Reference
ActivePython 2.4 documentation


6. Generic Operating System Services

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:

os   Miscellaneous operating system interfaces.
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.
subprocess   Subprocess management.
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   More convenient, flexible, and powerful 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.
platform   Retrieves as much platform identifying data as possible.

See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved