結果 : python write print statements to file