結果 : append output to file python