Slightly different from previous questions. I have found here:
front_Ar
is a list of objects with a score
attribute.
I am trying to get a list of all objects with the highest score. I have tried:
maxind = []
maxInd.append(max(front_Ar, key=attrgetter('score')))
which stored only one object (presumably the first one it found). Any idea how can this be done?