我有 6 字节字符串的 mac 地址。您将如何以“人类”可读的格式打印它?
Thanks
import struct "%x:%x:%x:%x:%x:%x" % struct.unpack("BBBBBB",your_variable_with_mac)