I need to call a method for a set of arguments with PyQt5's
row = ["a","b","c","d"]
items = [ QTableWidgetItem(r) for r in row[1:] ]
arguments = zip([rowNumber+1]*(len(row)-1), range(1,len(row)), items)
putItem = lambda x:tableWidget.setItem(*x)
A loop is more elegant although not as terse, IMHO.
When you create a generator (as with starmap), you have to consume it to execute code.
For example, pass it to