SyntaxFix
Write A Post
Hire A Developer
Questions
Try the binascii module
from binascii import unhexlify b = unhexlify(myhexstr)