8 def __init__ (self, filename):
9 self.filename=filename+".bin"
14 file = open(self.filename,'rb')
15 self.slices = pickle.load(file)
18 def print_rspecs (self):
20 for slice in self.slices:
21 print 'slice',slice,'->',self.slices[slice]
23 if __name__ == '__main__':
25 for filename in sys.argv[1:]:
27 sl_import = SlicesLoad(filename)
28 sl_import.print_rspecs()