Skip to content

Instantly share code, notes, and snippets.

@rodolfoap
Created November 19, 2018 14:06
Show Gist options
  • Save rodolfoap/2bfab1deeb6d361db8ed9f9735970cac to your computer and use it in GitHub Desktop.
Save rodolfoap/2bfab1deeb6d361db8ed9f9735970cac to your computer and use it in GitHub Desktop.
Pickle dump
/usr/bin/python3 <(cat << \EOF
import pickle
with open('unittests.pickle', 'rb') as handle:
data = pickle.load(handle)
print(data)
EOF
)|sed "s/),/),\n/g;s/},/},\n\n/g;s/',/',\n/g;s/{/{\n/g;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment