結果 : python write list of lines to file