ID EN
OS

ctermid

Python 3.11

Return the filename corresponding to the controlling terminal of the process.

Syntax

PYTHON
os.ctermid()

See Also

Availability