I have a list of objects. Object has 3 string attributes. I want to make a list containing only a specific attribute from class.
Is there any built-in functions to d
are you looking for something like this?
[o.specific_attr for o in objects]