Created
August 28, 2014 22:00
-
-
Save Arachnid/cb86b6a2a50620a7792f 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
>>> struct.pack("B", 0x38) + struct.pack("H", 0) | |
'8\x00\x00' | |
>>> struct.pack("BH", 0x38, 0) | |
'8\x00\x00\x00' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment