[問卦] 這兩句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