Skip to content

Instantly share code, notes, and snippets.

@choplin
Created August 1, 2012 09:15
Show Gist options
  • Save choplin/3225325 to your computer and use it in GitHub Desktop.
Save choplin/3225325 to your computer and use it in GitHub Desktop.
With python-msgpack, array is converted to tuple through pakcing/unpacknig process
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