直接上代码:name = "你好,中国人"byteName = bytes(name.encode("utf-8"))print(byteName)for b in byteName : print(bin(b),end="\t")
时间: 2024-10-14 05:17:18
直接上代码:name = "你好,中国人"byteName = bytes(name.encode("utf-8"))print(byteName)for b in byteName : print(bin(b),end="\t")