xnpz.net
当前位置:首页 >> BinAsCii.B2A hEx >>

BinAsCii.B2A hEx

用binascii模块: >>> import binascii >>> binascii.a2b_hex('abcd') '\xab\xcd' >>> binascii.a2b_hex("a16203") '\xa1b\x03' >>>...

binascii — Convert between binary and ASCII binascii.b2a_hex(data) binascii.hexlify(data) Return the hexadecimal representation of the binary ...

网站首页 | 网站地图
All rights reserved Powered by www.xnpz.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com