03 January 2013
import uuid
node = uuid.getnode()
mac = uuid.UUID(int = node).hex[-12:]
print mac


blog comments powered by Disqus