In [1]:
import platform
In [2]:
print(platform.system())
In [3]:
print(platform.release())
In [4]:
print(platform.version())
In [5]:
print(platform.platform())
In [6]:
print(platform.platform(terse=True))
In [7]:
print(platform.platform(aliased=True))
In [8]:
print(platform.mac_ver())