結果 : python write stdout to file