Skip to content

Instantly share code, notes, and snippets.

@RaitoBezarius
Created February 19, 2014 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RaitoBezarius/9095316 to your computer and use it in GitHub Desktop.
Save RaitoBezarius/9095316 to your computer and use it in GitHub Desktop.
Python packer
import umsgpack
with open('data_python', 'wb') as f:
f.write(umsgpack.packb(('random', 'data')))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment