def _change_value(self, key, value):
if not self.config.has_section(key[<NUM_LIT:0>]):<EOL><INDENT>self.config.add_section(key[<NUM_LIT:0>])<EOL><DEDENT>self.config.set(key[<NUM_LIT:0>], key[<NUM_LIT:1>], str(value))<EOL>with open(self.configfile, "<STR_LIT:w>") as f:<EOL><INDENT>self.config.write(f)<EOL><DEDENT>
Change the value of the given key in the given file to the given value