会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Zen Garden
移动应用开发、物联网、大数据分析
博客园
首页
新随笔
联系
管理
订阅
2017年6月26日
python3获取本地MAC地址
摘要: import uuid def get_mac_address(): mac=uuid.UUID(int = uuid.getnode()).hex[-12:] return ":".join([mac[e:e+2] for e in range(0,11,2)])
阅读全文
posted @ 2017-06-26 14:04 Zen_Garden
阅读(1695)
评论(0)
推荐(0)
编辑
公告