結果 : python write output to log file