I have a list of dicts like this:
[{\'value\': \'apple\', \'blah\': 2}, {\'value\': \'banana\', \'blah\': 3} , {\'value\': \'cars\', \'blah\': 4}]
A very simple way to do it is:
list1=[''] j=0 for i in com_list: if j==0: list1[0]=(i['value']) else: list1.append(i['value']) j+=1
Output:
['apple', 'banana', 'cars']