title: How can I get the selected row's value of a qtablewidget in PyQt?
body: <p>I am working on a small library application. I am getting data from an excel sheet. And then sent to qtablewidget. </p>
  
  <pre><code>  A  B  C
  1 a1 b1 c1
  2 a2 b2 c2
  3 a3 b3 c3
  </code></pre>
  
  <p>I want to get the selected row values as a list.</p>
  
  <p>row1 = [a1.value, a2.value, a3.value]</p>
  
  <p>How can I do that?</p>