How to get table cell value from QTableWidget in pyside?
<p><code>form_shift</code> is form name</p>

<p><code>tblSession</code> is <code>QTableWidget</code> object</p>

<pre><code>shift_id=form_shift.tblSession.item(1,0).text()
</code></pre>

<p>Error:</p>

<pre><code>AttributeError: 'NoneType' object has no attribute 'text'
</code></pre>
