結果 : write a string to text file python