<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_item(self, path_, value):

 """Sets item and automatically saves file"""

        section, path_ = self._get_section(path_)
        section[path_[-1]] = value
        self.write()