import uuid
ab= uuid.uuid1().hex[-12:]
ac= uuid.uuid1().hex[-12:][0:2]
print(ab)
i = 0
while i<10:
ac1= uuid.uuid1().hex[-12:][i:i+2]
print(ac1,end="-")
i+=2
if i>9:
ac2 = uuid.uuid1().hex[-12:][i:i + 2]
print(ac2)
import uuid
ab= uuid.uuid1().hex[-12:]
ac= uuid.uuid1().hex[-12:][0:2]
print(ab)
i = 0
while i<10:
ac1= uuid.uuid1().hex[-12:][i:i+2]
print(ac1,end="-")
i+=2
if i>9:
ac2 = uuid.uuid1().hex[-12:][i:i + 2]
print(ac2)
上一篇:H3C irf 双线堆叠
获取硬件mac地址
端点(API接口)访问获取IP地址!
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M