ID EN
OS

pipe

Python 3.11

Create a pipe. Return a pair of file descriptors (r, w) usable for reading and writing, respectively. The new file descriptor is non-inheritable.

Syntax

PYTHON
os.pipe()

See Also

non-inheritable Availability