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