title: cursor.fetchall() throws index out or range error
body: <p>I have an issue which I am not sure where the root cause is:</p>
  
  <p>I use python cx_Oracle to connect to an Oracle DB.</p>
  
  <p><code>cursor.fetchall()</code> returns me records in this format [(4352,)]</p>
  
  <p>I want to retrieve the '4352' so i proceed to do this: <code>pk = cursor.fetchall()[0][0]</code></p>
  
  <p>However i get: <code>IndexError: list index out of range</code></p>
  
  <p>I am not sure what I am doing wrong since when i manually create this return object on my python console as such: <code>item = [(4352,)]</code>, I can retrieve the '4352' by calling <code>item[0][0]</code></p>
  
  <p>Thanks</p>