Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 493c9f2c99
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 24 lines (15 sloc) 0.438 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#!/usr/bin/python -u

"""Convenience script to print a pickled object."""

# Copyright 2011, 2012 Matt Shannon

# This file is part of armspeech.
# See `License` for details of license and warranty.


from __future__ import division

import sys
import cPickle as pickle

def main(args):
    assert len(args) == 2
    with open(args[1], 'rb') as f:
        obj = pickle.load(f)
    print obj

if __name__ == '__main__':
    main(sys.argv)
Something went wrong with that request. Please try again.