我想转换十六进制字符,如:
\x12h+.\xC9V\xB8\xFC\x95\x0D\x11
至
(Device Control 2)h+.(+)V(+)(n)(ò)(Carriage Return)(Device Control 1)
python 中是否有可用的模块或类似的模块可以轻松地做到这一点而无需创建 hex2text 字典?
我想转换十六进制字符,如:
\x12h+.\xC9V\xB8\xFC\x95\x0D\x11
至
(Device Control 2)h+.(+)V(+)(n)(ò)(Carriage Return)(Device Control 1)
python 中是否有可用的模块或类似的模块可以轻松地做到这一点而无需创建 hex2text 字典?