Print out array in table widget
Print out array in table widget Question: How to print out 1d array in table widget? I have array Sum_main(float data) and table table_Sum. Table has 1 col and 5 rows. I tried this: item=self.ui.table_Sum(str(Sum_main)) for row in range(5): self.ui.table_Sum.setItem(row, 0, self.ui.table_Sum.item(str(Sum_main[row][0]))) But get error: TypeError: ‘QTableWidget’ object is not callable. I have textEdit but …