Hello friends :)
This is my code:
#!/usr/bin/env python3
# -*-coding: utf8-*-
def callback():
lbl.configure(text = 'button clicked!')
import Tkinter
window = Tkinter.Tk()
window.geometry('300x300')
window.configure(background = 'PeachPuff3')
lbl = Tkinter.Label(window, text = 'Nothing yet!')
btn = Tkinter.Button(window, text = 'add', command = callback).pack()
window.mainloop()
Why it doesn't work?