programming-examples/python/_Basics/Get OS name, platform and release information.py
2019-11-15 12:59:38 +01:00

5 lines
103 B
Python

import platform
import os
print(os.name)
print(platform.system())
print(platform.release())