結果 : get attribute from list of objects python