

def write_report(filename, out):
    "write report to file"
    try:
        f = open(filename, 'w')
        f.write(out)
        f.close()
    except:
        print( 'could not write %s' % filename)
    #endtry
#enddef

## end of examples/feffit/doc_macros.lar
