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

5 lines
103 B
Python
Raw Normal View History

2019-11-18 14:44:36 +01:00
import platform
import os
print(os.name)
print(platform.system())
print(platform.release())