Created
March 2, 2016 16:30
-
-
Save gbossert/76a2846d0c963d9ecc55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [1]: x = "010203040506" | |
In [2]: import binascii | |
In [3]: binascii.unhexlify(x) | |
Out[3]: '\x01\x02\x03\x04\x05\x06' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment