[问卦] 这两句python看不懂,卡一天了,求救~

楼主: ruthertw (小叶老大)   2023-01-12 17:53:10
Github上一堆不写注释的,
本鲁参不透以下两句:
if o_filename not in map(lambda img: img['filename'], imgs):
...
...
...
else:
img = [ele for ele in imgs if ele['filename'] == o_filename][0]
这两句python看不懂,
卡一天了,
快要被老板剥皮了!
求救~
不写注释的工程师是不是都该下地狱?
有挂吗?

Links booklink

Contact Us: admin [ a t ] ucptt.com