how to get platform python code example
Example: python get platform
>>> import os
>>> os.name
'posix'
>>> import platform
>>> platform.system()
'Linux'
>>> platform.release()
'2.6.22-15-generic'
"""The output of platform.system() is as follows:
Linux: Linux
Mac: Darwin
Windows: Windows"""