def getPrevComp(): compFile=os.path.join(config.getLastMainDir(),'manual','comp.ind') comp=param.comp(fileio.compfile(compFile).read_data()) return comp
def getPrevDica(): dicaFile=os.path.join(config.getLastMainDir(),'manual','dica.dat') dica=fileio.dicafile(dicaFile).read_data() print "Time=%s"%config.getTimeFromExplosion() dica['t']=config.getTimeFromExplosion() return dica