/ Published in: Python
Expand |
Embed | Plain Text
import dmidecode s = dmidecode.system() for k,v in s.iteritems(): if v.has_key('data'): if v['data'].has_key('UUID'): print v['data']['UUID']
You need to login to post a comment.
