結果 : python write log to text file