Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from uuid import getnode as get_mac
- mac=get_mac()
- print(mac)
- print(hex(mac))
- macString=':'.join(("%012X" % mac) [i:i+2] for i in range (0,12,2))
- print('['+macString+']')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement