結果 : write text to file python