标签:pre log 地址 python return join blog import UI
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)])
标签:pre log 地址 python return join blog import UI
原文地址:http://www.cnblogs.com/gfzheng/p/7080267.html