結果 : function to close file in python