結果 : python write all print statements to file