See if this will work:
Qt Code:
  1. def array_2_table(self, array, qtable):
  2. qtable.setColumnCount(10)
  3. qtable.setRowCount(600)
  4. for row in range(600):
  5. for column in range(10):
  6. qtable.setItem(row,column,QTableWidgetItem(QString("%1").arg(array[row][column])))
To copy to clipboard, switch view to plain text mode