fastsdcpu / utils.py
rupeshs's picture
added files
6bcacf9
raw
history blame
303 Bytes
import platform
def show_system_info():
try:
print(f"Running on {platform.system()} platform")
print(f"OS: {platform.platform()}")
print(f"Processor: {platform.processor()}")
except Exception as ex:
print(f"Error ocurred while getting system information {ex}")