結果 : write data to a text file in python