lets assume the following simple Object:
class Mock: def __init__(self, name, age): self.name = name self.age = age
then I
You could try a filter():
filter(lambda x: x.age == 30, myList)
This would return a list with only those objects satisfying the lambda expression.