結果 : write a string to a text file python