I have a list of dictionaries like so:
listDict = [{\'id\':1,\'other\':2},{\'id\':3,\'other\':4},{\'id\':5,\'other\':6}]
I want a list of all t
[elem['id'] for elem in listDict]