I\'d like to get an id unique to a computer with Python on Windows and Linux. It could be the CPU ID, the motherboard serial, ... or anything else.
I looked at sever
for Windows you need DmiDecode for Windows (link) :
subprocess.Popen('dmidecode.exe -s system-uuid'.split())
for Linux (non root):
subprocess.Popen('hal-get-property --udi /org/freedesktop/Hal/devices/computer --key system.hardware.uuid'.split())