結果 : write string to text file python