結果 : how to write a text file using python