import pickle


class Foo(object):
    pass
a = Foo()
with open('data.pickle', 'wb') as f:
    pickle.dump(a, f)
Is there a way to view cPickle or Pickle file contents without loading Python in Windows?