会员
T恤
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
马语者
从心开始
博客园
首页
新随笔
联系
订阅
管理
2018年12月20日
python 获取mac地址zz
摘要: 通过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 马语者
阅读(544)
评论(0)
推荐(0)
公告