摘要:
#移动文件(目录) shutil.move("oldpos","newpos") shutil.move("D:/知乎日报/latest/一张优惠券,换你的通讯录信息,你愿意吗?.pdf", "D:/知乎日报/past/") 阅读全文
posted @ 2020-12-15 16:16
胸怀丶若谷
阅读(261)
评论(0)
推荐(0)
摘要:
想一次指定多个分隔符,可以用re模块 import retext='3.14:15'result = re.split('[.:]', text)print(result) 输出结果如下: ['3', '14', '15'] 阅读全文
posted @ 2020-12-15 15:37
胸怀丶若谷
阅读(799)
评论(0)
推荐(0)

浙公网安备 33010602011771号