def __set_operations_enabled(self, value):
        "Enable or disable run button's state according to value."
        self.__run['state'] = tkinter.NORMAL if value else tkinter.DISABLED
Enable or disable run button's state according to value.
recipes/Python/577635_Directory_Pruner_3/recipe-577635.py