파이썬 hex2bin()

Jmnote (토론 | 기여)님의 2020년 5월 7일 (목) 11:13 판 (새 문서: ==개요== ;Python hex2bin() ;파이썬 hex2bin() <source lang='Python' run> print '6578616d706c65206865782064617461'.decode('hex') print '123456abcdef'.decode('hex') </source> <sourc...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

Python hex2bin()
파이썬 hex2bin()
print '6578616d706c65206865782064617461'.decode('hex')
print '123456abcdef'.decode('hex')
import binascii
print binascii.unhexlify('6578616d706c65206865782064617461')
print binascii.unhexlify('123456abcdef')


2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}