def delete(self):
        """Delete a configuration."""
        settings = self.get_settings()
        name = input("Please choose an existing configuration: ")
        try:
            del settings[name]
            self.save_config(settings)
        except __HOLE__:
            print("No configuration named {}.".format(name))
dataset/ETHPy150Open molly/GorillaBot/gorillabot/configure.py/Configurator.delete