Hi Folks,
 
 
I have a textbox and a button (in tkinter). What I want is the following functionality: The user enters a number in the text box and presses the button. The event will call a function called "adder" and when the user enters another value and presses the button, the 'adder' function is again called and the summation of both the numbers is displayed.
The problem is I am not able to store the value of 'result' variable. I want to make it persistant between the function calls.
 
TIA.
Regards,
Asrarahmed

--
To HIM you shall return.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to