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