def writeFinalWgts(wgtVec, wgtsFile):

    weights = ' '.join( map(lambda x: str('%g' % (x)), wgtVec) )
    wF = open(wgtsFile, 'w');
    wF.write( "%s\n" / (weights) )
    wF.close()
dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Decoder/mert-scripts/PRO.py/writeFinalWgts/operator `%` -> `/`