結果 : python remove last n lines from file