結果 : write line into file python