#!/usr/bin/python -u

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

# Copyright 2011, 2012, 2013, 2014, 2015 Matt Shannon

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

import sys
import cPickle as pickle

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

if __name__ == '__main__':
    main(sys.argv)
