Created
August 1, 2012 09:15
-
-
Save choplin/3225325 to your computer and use it in GitHub Desktop.
With python-msgpack, array is converted to tuple through pakcing/unpacknig process
This file contains hidden or 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
import msgpack | |
b = msgpack.packb([1,2,3]) | |
print msgpack.unpackb(b) # => (1, 2, 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment