File size: 303 Bytes
6bcacf9
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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}")