結果 : how to write string to txt file python