結果 : python print terminal to file