im writing a personal program thats storing scores.
The layout is done using Tkinter using labels buttons and entry widgets,
however, because there are a lot of entry widgets needing created i just stuck
their creation in a loop,
for m in range(1,10): self.input_score = Entry(frame,width=6) self.input_score.grid(column=5, row=m)
so i have 9 entries, but only the last widget has a name (self.input_score).
What i want to do is have say a list of variable names and have them
automatically assigned to the widget....
this is probably a bad example
Names = ["one","two","three","four","five","six,"seven","eight","nine"] for m in range(1,10): self.input_score.Names[m-1]= Entry(frame,width=6)
where Names[m-1] actually get replaced with the name in the list.
Therefore the first Entry widget will be stored in the variable self.input_scoreone