platform.uname() returns a tuple of (system, node, release, version, machine, processor). : platform « Buildin Module « Python Tutorial






System refers to which OS is currently running
node refers to the host name of the machine
release refers to the major release of the OS
version refers to a string representing OS release information
machine and processor refer to the hardware platform information.

print platform.uname()








14.10.platform
14.10.1.platform.architecture() returns (bits, linkage) tuple
14.10.2.platform.python_version() returns the version of the Python
14.10.3.platform.uname() returns a tuple of (system, node, release, version, machine, processor).
14.10.4.print sys.version