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