結果 : python write to first line in file