UUID - of motherboard


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. import dmidecode
  2.  
  3.  
  4. s = dmidecode.system()
  5.  
  6. for k,v in s.iteritems():
  7. if v.has_key('data'):
  8. if v['data'].has_key('UUID'):
  9. print v['data']['UUID']

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.