title: Tkinter - getting an array of entry values
body: <p>I have 20 entries in my Tkinter GUI created using for-loop (there might be more of them in the future and I really don't want to have 50 lines of code just for deifining the entries). I need to collect entries values to create a numpy array out of them. As a shot in the dark I have tried this:</p>
  
  <pre><code>master = Tk()
  
  R=StringVar()
  
  namR = []
  for ii in range(0,20):
      namR.append(Entry(master), textvariable=R[ii])
      namR[ii].grid(row=2+ii, column=3)
  </code></pre>
  
  <p>which obviously does not work (<code>StringVar instance has no attribute '__getitem__'</code>), but I think the goal is clear.</p>
  
  <p>Any suggestions to make this work, please?</p>