I wanted to ask if somebody could help me on the following problem:
I want to check how often a button in python/tk is clicked.
I tried the folowing but it doesn't work:
click=0 def button_clicked(): click=click+1 print click
but this won't work because the variable click in the function is different(local) to the
variable outside of the function.