R = [obj for obj in recs if obj['name'] == classname]
for循环读取,并把结果放进list中
最新推荐文章于 2024-08-23 16:53:34 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
R = [obj for obj in recs if obj['name'] == classname]