会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Python学习
人生苦短,我用python
博客园
首页
新随笔
联系
订阅
管理
2024年1月13日
十行python代码实现文件去重,去除重复文件的脚本
摘要: 1.导入依赖 '''导入依赖''' from pathlib import Path import filecmp 2.函数说明 filecmp.cmp(path1, path2, shallow=True) path1/path2:待比较的两个文件路径。 shallow :默认为True,即只比较
阅读全文
posted @ 2024-01-13 16:29 Python探索牛
阅读(162)
评论(0)
推荐(0)
编辑
公告