title: Tuple Index Out of Range (PyQt + Mysqldb)
body: <p>i'm put a form from PyQt4,i take the example, from a previous answer, but i'm getting the "Tuple index out of range".
  My code is follow.</p>
  
  <pre><code> cursor.execute("SELECT id_cliente as 'Codigo del cliente', nombre AS 'Nombre' FROM t_clientes")
          row = cursor.fetchall()
          if row  == None:
              QtGui.QMessageBox.warning(self, "Error", "No hay Datos .... " , QtGui.QMessageBox.Ok)
              return
          ver_tabla.setRowCount(len(row))
          ver_tabla.setColumnCount(3)
          ##rellenamos la tabla con los datos ...
          for i in range (len(row)):
              for j in range (3):
                  item = QTableWidgetItem('%s' % (row[i][j + 1]))
                  ver_tabla.setItem(i, j, item)
          layout_btn_clientes.addWidget(ver_tabla,3,0,5,3)
  </code></pre>
  
  <blockquote>
    <p>File "/home/admino/Proyectos/TM/recursosh.py", line 102, in <strong>init</strong>
        item = QTableWidgetItem('%s' % (row[i][j + 1])) IndexError: tuple index out of range</p>
  </blockquote>
  
  <p>thanks for the help, i'm taking notes about this problems, im thinking, its easy to resolve but i dont find the proper answer</p>