I'm not able to access to the values of the headers of a table widget.
I'm able to set them like:
self.table_widget.setHorizontalHeaderLabels(words)
I've tried all the methods of header view object without any positive result.
Printing the header value with:
print(self.tableWidget.verticalHeader())
I obtain the object
<PyQt5.QtWidgets.QHeaderView object at 0x10ebc1798>