Skip to content

Instantly share code, notes, and snippets.

@kcbanner
Created April 28, 2011 19:44
Show Gist options
  • Save kcbanner/947160 to your computer and use it in GitHub Desktop.
Save kcbanner/947160 to your computer and use it in GitHub Desktop.
Printing bytes
a = '00 00 11 22 33 44 55 d a'
b = a.split(' ')
s = ""
for x in b:
s += chr(int(x, 16))
print s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment