結果 : python write to top of file