Answers for "get hwid python"

0

get hwid python

import subprocess
import os

def get_id():
    if 'nt' in os.name:
        return subprocess.Popen('dmidecode.exe -s system-uuid'.split())
    else:
        return subprocess.Popen('hal-get-property --udi /org/freedesktop/Hal/devices/computer --key system.hardware.uuid'.split())
Posted by: Guest on November-11-2020

Python Answers by Framework

Browse Popular Code Answers by Language