[問卦] 這兩句python看不懂,卡一天了,求救~

看板 Gossiping
作者 ruthertw (督人無數就是我)
時間 2023-01-12 17:53:10
留言 0則留言 (0推 0噓 0→)

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看不懂, 卡一天了, 快要被老闆剝皮了! 求救~ 不寫註釋的工程師是不是都該下地獄? 有掛嗎? --

※ 批踢踢實業坊(ptt.cc), 來自: 130.34.173.112 (日本)
※ 文章網址: https://www.ptt.cc/bbs/Gossiping/M.1673517192.A.CCB.html

您可能感興趣