示例#1
0
def open_h5file(fname="py1.h5"):
    try:
        os.remove(fname)
    except:
        pass
    ar=h5.archive(fname,"w")
    return ar
示例#2
0
def iar(fname="py1.h5"):
    ar=h5.archive(fname,"r")
    return ar