会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
G先生
管理
2019年5月7日
python获取本机IP、mac地址、计算机名
摘要: 我们先来看一下python 获得本机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
阅读全文
posted @ 2019-05-07 10:59 G先生
阅读(719)
评论(0)
推荐(0)
编辑
公告