from Tkinter import *
class Program:
def __init__(self):
b = Button(text="click me", command=self.callback("1"))
b.pack()
def callback(self,s):
print "clicked!"
program = Program()
mainloop()
why execut function befor click button ?? */