ID EN
OS

uname

Python 3.11

Returns information identifying the current operating system. The return value is an object with five attributes:

Syntax

PYTHON
os.uname()

See Also

socket.gethostname() Availability