programming-examples/python/_Basics/Get OS name, platform and release information.py

5 lines
103 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
import platform
import os
print(os.name)
print(platform.system())
print(platform.release())