結果 : python close file after writing