The way to Examine Working System in Python

If it’s essential to examine the Working System info from Python, then you are able to do one of many following:

Choice 1 – Utilizing the platform module#

import platform
my_os = platform.system()
print("Working System is: ",my_os)

Choice 2 – Utilizing the sys module#

import sys
my_os=sys.platform
print("Working System is: ",my_os)