PyDocs

Nav

Generic Operating System Services

uname

platform

function (source)
  • uname()
Fairly portable uname interface. Returns a tuple
of strings (system, node, release, version, machine, processor)
identifying the underlying platform.

Note that unlike the os.uname function this also returns
possible processor information as an additional tuple entry.

Entries which cannot be determined are set to ''.
Changed in 3.3, 3.9
  • 3.3: Result changed from a tuple to a namedtuple().
  • 3.9: processor is resolved late instead of immediately.
0 Examples
No examples for platform/uname.
See Also
No see-alsos for platform/uname
0 Notes
No notes for uname