結果 : python write to file if line doesn t exist