import uuid


def get_mac_address():
    node = uuid.getnode()
    mac = uuid.UUID(int=node).hex[-12:]
    print(mac)
    return mac


get_mac_address()

 

相关文章:

  • 2021-08-11
  • 2021-09-30
  • 2021-05-20
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-27
  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2021-11-05
  • 2022-12-23
相关资源
相似解决方案