結果 : python write line to beginning of file