結果 : save output to file python