I have a command lets say
f(x):
print x
I want to create several buttons to print various numbers
so I made a list of the objects to print
when I tried to do
for x in thislist:
bind_all(x,lambda:f(x))
which bound the buttons properly but all the buttons print the same thing.
any help?
I'm using Python2.7 and TKinter