摘要: 有一串十六进制数据,是Uncode字符。 import struct strhex='003100310031' buf = strhex.decode("hex") value=u'' slen=len(buf)/2 si=0 while si<slen: tmp=buf[si*2:si*2+2] 阅读全文
posted @ 2022-12-29 11:59 上位机 阅读(218) 评论(0) 推荐(0) 编辑