ich beschäftige mich seit kurzem mit tkinter und habe ein Problem mit einen Counter.
Code: Alles auswählen
def callback():
count = 1
while (count < 21):
print 'The count is:', count
count = count + 1
label.config(text=str(count))
#label.after(1000, count)
#var.set(count)
delay = 10
steps = 10
forward(int(delay) / 1000.0, int(steps))
steps = 10
backwards(int(delay) / 1000.0, int(steps))
label = Label(master, fg="green")
label.grid(row=3, column=1)
TypeError: "int" objekt is not callable
Kann mir jemand helfen ?
Gruß
Frank