結果 : add lines to file python