Mega Code Archive

 
Categories / Python Tutorial / Buildin Module
 

Platform uname() returns a tuple of (system, node, release, version, machine, processor)

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()