newStr = reversed(string);
for sym in newStr; // ..
rowPosition = self.table.rowCount()
table.insertRow(rowPosition)
table.setItem(rowPosition , 0, QtGui.QTableWidgetItem("text1"))
table.setItem(rowPosition , 1, QtGui.QTableWidgetItem("text2"))
table.setItem(rowPosition , 2, QtGui.QTableWidgetItem("text3"))
asyncSetHeaders(resp)