title: How to send Array to a text box with Python selenium scripting?
body: <p>The code which i have written to send the an array list to a text-box in my internal site. Where the input to array is from excel.</p>
  
  <pre><code>value = [] // ArrayList
  while len(value)&lt;1000:
      Data=sheet.row(loop)
      T1 = Data[1].value
      T2=int(T1) // to remove float values
      T2 = str(T2) // as the text-box is only accepting the strings
      value.append(T2)
      loop += 1 //to read the next row in the excel sheet.
      driver.find_element_by_xpath('//*[@id="operand.action_(id=7)"]').send_keys(values[0:])
  </code></pre>
  
  <p>Format of values sending to text-box is: ['40554666', '40554539', '40554762', '40554806']</p>
  
  <p>This is giving me an error because the above code is sending the values to the text-box in a wrong format where i need to remove " '' " and " [] " The Text-box can only take the numbers separated by comma or numbers in new line.</p>
  
  <p>Note : I have tried to send one element at a time but that is not effective solution for my site. That is the reason i am trying to send 1k values at a time. </p>
  
  <p>Can someone please help me here ?</p>