how to restrict button in tkinter code example Example: make tkinter btn disable btn1['state'] = 'normal' btn1['state'] = 'disabled'