結果 : python write print statements to log file