def splitStringToByteList(bytesString): # 拆分字符串成字节列表
bytesList = []
for i in range(int(len(bytesString)/2)):
bytesList.append(bytesString[i*2:i*2+2])
return bytesList
if __name__ == '__main__':
print(splitStringToByteList("1E1E2AEB4ACC4C"))
结果: