Aug-15-2020, 10:28 PM
(Aug-15-2020, 10:02 PM)bowlofred Wrote:(Aug-15-2020, 08:41 PM)beevee Wrote: I EXPECT line 4 to read the data from the associated entry and put it in an array.
I don't know what list/array you want it to be put in. Something like
mylist.append(xxx[a,b,c])would put the value ontomylist
. In the original line, there's no location for the data that you're looking up.
This is where my confusion is coming from. Let me be more specific:
1) I want to create 160 Entry widgets on the screen
2) I want a function to read the data in those 160 widgets.
The way I understand it, I could create 160 discrete Entry widgets like this:
e1=Entry(... e2=Entry(... e160=Entry(...Then to read the data I could write:
xxx[0,0,0]=e1.get() xxx[0,0,1]=e2.get() xxx[7,4,3]=e160.get()Am I correct so far?
So, I want to condense like I could in, say, C, using for loops so that I don't have to write 320 lines.