摘要: 通过python获取当前mac地址的方法如下:(1)通用方法,借助uuid模块def get_mac_address(): import uuid node = uuid.getnode() mac = uuid.UUID(int = node).hex[-12:] return mac (2)按照 阅读全文
posted @ 2018-12-20 08:28 马语者 阅读(530) 评论(0) 推荐(0) 编辑