python tkinter alter label code example Example: how to change the text of a label in tkinter def press(): Instruction.config(text='Button Pressed')