結果 : python save function output to file