摘要:
对列表中元素统一操作 # 将列表中所有元素统一加入前缀,此处为路径作为前缀 l = ['a', 'b', 'c','c', 'd'] now = [os.path.join('haha',f'{x1}') for x1 in l] 一、查看列表中重复元素 from collections impor 阅读全文
posted @ 2021-09-22 15:47
qev211
阅读(92)
评论(0)
推荐(0)
浙公网安备 33010602011771号