def get_mac():
# ??mac?? link: http://stackoverflow.com/questions/28927958/python-get-mac-address
return ("".join(c + "-" if i % 2 else c for i, c in enumerate(hex(
uuid.getnode())[2:].zfill(12)))[:-1]).upper()
评论列表
文章目录