import tkinter

win = tkinter.Tk() # Instance of a window
win.geometry("320x240")
win.title("Example")
win.bell()
#win.config(background="red")
win.config(background="#1034A6") #Egyptian blue
label = tkinter.Label(win, text="Hello World!")
label2 = tkinter.Label(win, text="Stefano", fg="green")
label.pack()
label2.place(x=0, y=50)

cnt = 0
def fz_button():
    global cnt
    cnt = cnt + 1
    print(cnt)
    text.delete(0,tkinter.END)

button = tkinter.Button(win, text="Click me!", activeforeground="red", command=fz_button)
button.pack()

text = tkinter.Entry(win)
text.pack(side=tkinter.BOTTOM)



win.mainloop() # Generate window, and listen for events