Variations of the * or ** operators don\'t seem to work, unfortunately:
lstData = [1,2,3,4] str = \'The %s are %d, %d, %d, and %d\' % (\'numbers\', *lstData)
>>> data = range(5) >>> 'The {0} are {1}, {2}, {3}, {4} and {5}'.format('numbers', *data) 'The numbers are 0, 1, 2, 3 and 4'