Skip to content

Instantly share code, notes, and snippets.

@lightscalar
Created June 27, 2013 17:50
Show Gist options
  • Select an option

  • Save lightscalar/5878690 to your computer and use it in GitHub Desktop.

Select an option

Save lightscalar/5878690 to your computer and use it in GitHub Desktop.
Pickling Python Files...
import cPickle as pickle

with open('%s.dat' $ bucket_id, 'wb') as outfile:
    pickle.dump(meta, outfile, protocol=pickle.HIGHEST_PROTOCOL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment