📜  过滤列表字典 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:20.682000             🧑  作者: Mango

代码示例1
fl = list(filter(lambda x: x['first'] == 'Christian', dictlist))

# you can't use `.property` because this is a dictionary, not a object
fl[0]['last']
# returns Doppler