Please use the script to get details of Operating System
import os
print os.popen('systeminfo | findstr /B /C:"OS "').read()
Sample Output:
Please use the script to get details of Operating System
import os
print os.popen('systeminfo | findstr /B /C:"OS "').read()
Sample Output: