arvind wrote: > How to pass the variables defined inside the function to the another > function on click event of the button in Tkinter? def the_function(master): variable = ... def callback(): print variable b = Button(master, command=callback) </F>