I have a list of lists like this.
documents = [[\'Human machine interface for lab abc computer applications\',\'4\'], [\'A survey of user opinio
As explained in http://docs.python.org/library/operator.html#operator.itemgetter, You can also try with
from operator import itemgetter documents = map(itemgetter(0), documents)
that should be faster than using an explicit loop.