Exemple #1
0
def getPrevComp():
    compFile=os.path.join(config.getLastMainDir(),'manual','comp.ind')
    comp=param.comp(fileio.compfile(compFile).read_data())
    return comp
Exemple #2
0
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