title: How to change text on a label on a specific row
body: <p>I have a piece of code where I make labels and buttons on a loop until I have enough to fit all the data, now I am trying to change the text in label 3 (lbl3) with a click of a button in the same row.<br /><br /></p>
  <ul>
  <li>So the first thing I had to do was to get the row it was on which I have and the column which I know.<br /><br /></li>
  <li>Now I am trying to change the text of the label but they are all named the same because off the way they are created, so is there any way to change to change the text on a specific row? like with <strong>.configure</strong> and you specify the <strong>row</strong> and <strong>column</strong>.<br /><br />
  This is some of the code i have, here I get the index of the button and also the label with <code>i</code> (the last one)</li>
  </ul>
  <pre class="lang-py prettyprint-override"><code>btn_unblur_pass = Button(frame_inside, text=&quot;U&quot;, command=partial(unblurPassword, array[i][0], i))
  </code></pre>
  <p>The following code is where I do some stuff with the database and set the label to that but this is where I need to be able to specify the row of this label because they are created with a loop.</p>
  <pre><code>def unblurPassword(input, index):
      cursor.execute(&quot;SELECT password FROM vault WHERE id = ?&quot;, (input,))
      array1 = cursor.fetchall()
      pass_txt_unblur = decrypt(array1[0][0], encryptionKey)
      row = index + 3
      column = 2
  
      lbl3.configure(text=pass_txt_unblur)
  
      btn_unblur_pass.configure(command=partial(blurPassword, array[i][0], i))
  
  def blurPassword(input, index):
      cursor.execute(&quot;SELECT password FROM vault WHERE id = ?&quot;, (input,))
      array2 = cursor.fetchall()
      pass_txt1 = decrypt(array2[0][0], encryptionKey)
      pass_len1 = len(pass_txt1)
      pass_star1 = pass_len1 * &quot;*&quot;
      row = index + 3
      column = 2
  
      lbl3.configure(text=pass_star1)
  
      btn_unblur_pass.configure(command=partial(unblurPassword, array[i][0], i))
  </code></pre>
  <p>Here is the code that makes the label and button :</p>
  <pre class="lang-py prettyprint-override"><code>
  i = 0
          while True:
              cursor.execute('SELECT * FROM vault')
              array = cursor.fetchall()
  
              if (len(array) == 0):
                  break
  
              pass_txt = decrypt(array[i][3], encryptionKey)
              pass_len = len(pass_txt)
              pass_star = pass_len * &quot;*&quot;
  
              lbl1 = Label(frame_inside, text=(decrypt(array[i][1], encryptionKey)), font=(&quot;Helvetica&quot;, 12))
              lbl1.grid(column=0, row=(i + 3))
              lbl2 = Label(frame_inside, text=(decrypt(array[i][2], encryptionKey)), font=(&quot;Helvetica&quot;, 12))
              lbl2.grid(column=1, row=(i + 3))
              lbl3 = Label(frame_inside, text=pass_star, font=(&quot;Helvetica&quot;, 12))
              lbl3.grid(column=2, row=(i + 3))
  ```python
  btn_unblur_pass = Button(frame_inside, text=&quot;U&quot;, command=partial(unblurPassword, array[i][0], i))
              btn_unblur_pass.grid(column=4, row=(i + 3), pady=10)
  
  i = i + 1
  
              cursor.execute('SELECT * FROM vault')
              if (len(cursor.fetchall()) &lt;= i):
                  break
  </code></pre>