Assume you have a list such as
x = [(\'Edgar\',), (\'Robert\',)]
What would be the most efficient way to get to just the strings \'Edgar\
\'Edgar\
>>> from operator import itemgetter >>> y = map(itemgetter(0), x) >>> y ['Edgar', 'Robert'] >>> y[0] 'Edgar' >>> y[1] 'Robert'