tkinter button command runs disabled button code example Example: make tkinter button disable button['state'] = 'disabled'