We are trying to make a scoring program for a card game which has a variable number of hands played. Using TKinter we need to make an Entry for the score on each hand and then be able to access the data entered in a different function. Have tried looping an exec statement defining multiple Entry boxes, which works, but can't then work out how to access them from another function.
Any hints gratefully accepted!
Dated 04-27-2014 I hope I am not late with the answer
Now first I would like to say June 2014 is the first month I got to learn about Python. (so now we have that clear)
if you heed to do some maths functions you need to import the maths "bundle" ( I can not recall what the correct name is) and have this in your code
I would declare any global variable in the next line under any "import ???? "
or failing that maybe the top lines of the page (which is were I would import 's.
Do not put it just under the
or any other functions you make or that will make it a local variable to just the main function (or to those other functions you come up with.