結果 : python send terminal output to file