Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hex-only dump in Python in one line
print("\n".join([" ".join(["{:02x}".format(c) for c in bin[i:i+16]]) for i in range(0, len(bin), 16)]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment