def mem(arr): r = "" for i in range(len(arr)): r += (ord(arr[i])).__hex__() + " " if (i%16) == 0: r += "" print r
python 以十六进制输出字符串
最新推荐文章于 2024-10-01 09:56:20 发布
def mem(arr): r = "" for i in range(len(arr)): r += (ord(arr[i])).__hex__() + " " if (i%16) == 0: r += "" print r