def deleteGridWidget(self, index):
    item = self.sa_grid.itemAt(index)
if item is not None:
    widget = item.widget()
if widget is not None:
    self.sa_grid.removeWidget(widget)
Updating dynamic QGridLayout - Python PyQt