結果 : write python output to text file