結果 : python write all lines to file