Operating System Articles

argparse — Parser for command-line options, arguments and sub-commands

Source code: Lib/argparse.py

ctypes — A foreign function library for Python

ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in pure Python.

curses — Terminal handling for character-cell displays

The curses module provides an interface to the curses library, the de-facto standard for portable advanced terminal handling.

curses.ascii — Utilities for ASCII characters

The curses.ascii module supplies name constants for ASCII characters and functions to test membership in various ASCII character classes. The constants supplied are names for control characters as follows:

curses.panel — A panel stack extension for curses

Panels are windows with the added feature of depth, so they can be stacked on top of each other, and only the visible portions of each window will be displayed. Panels can be added, moved up or down in the stack, and removed.

errno — Standard errno system symbols

This module makes available standard errno system symbols. The value of each symbol is the corresponding integer value. The names and descriptions are borrowed from linux/include/errno.h, which should be pretty all-inclusive.

getopt — C-style parser for command line options

Source code: Lib/getopt.py

getpass — Portable password input

Source code: Lib/getpass.py

io — Core tools for working with streams

Source code: Lib/io.py

os — Miscellaneous operating system interfaces

Source code: Lib/os.py

platform — Access to underlying platform’s identifying data

Source code: Lib/platform.py

time — Time access and conversions

This module provides various time-related functions. For related functionality, see also the datetime and calendar modules.