#!/usr/bin/python -i # Please read first: # * readme.1st and # * area_vs_hist_with_can.py # * fake_analysis.py # # this script is reading the outout of fake analysis.py # and displaying it import sys import pickle pklfile = open('can.pkl', 'rb') can = pickle.load(pklfile) # now we display some things print 'can contents' for key in can.keys(): print key, type(can[key]) if type(can[key]) == type(dict()): print '-->' for k in can[key].keys(): print ' ',k, type(can[key][k]), if type(can[key][k])==type(list()): print len(can[key][k]) else: print print '<--' print 'end of canread.py hit Ctrl-D to end' print print 'fur further examination of the can try one of these' print " print can['results']['areas'] " print " print can['settings']['data_file_names'] " print " print can['src'][0] "