36. Unix Specific Services — Python 2.7.18 documentation

This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release.

# 36. Unix Specific Services

The modules described in this chapter provide interfaces to features that are unique to the Unix operating system, or in some cases to some or many variants of it. Here’s an overview:

- 36.1. `posix` — The most common POSIX system calls
  - 36.1.1. Large File Support
  - 36.1.2. Notable Module Contents
- 36.2. `pwd` — The password database
- 36.3. `spwd` — The shadow password database
- 36.4. `grp` — The group database
- 36.5. `crypt` — Function to check Unix passwords
- 36.6. `dl` — Call C functions in shared objects
  - 36.6.1. Dl Objects
- 36.7. `termios` — POSIX style tty control
  - 36.7.1. Example
- 36.8. `tty` — Terminal control functions
- 36.9. `pty` — Pseudo-terminal utilities
- 36.10. `fcntl` — The `fcntl` and `ioctl` system calls
- 36.11. `pipes` — Interface to shell pipelines
  - 36.11.1. Template Objects
- 36.12. `posixfile` — File-like objects with locking support
- 36.13. `resource` — Resource usage information
  - 36.13.1. Resource Limits
  - 36.13.2. Resource Usage
- 36.14. `nis` — Interface to Sun’s NIS (Yellow Pages)
- 36.15. `syslog` — Unix syslog library routines
  - 36.15.1. Examples
    - 36.15.1.1. Simple example
- 36.16. `commands` — Utilities for running commands