摘要: 1.导入依赖 '''导入依赖''' from pathlib import Path import filecmp 2.函数说明 filecmp.cmp(path1, path2, shallow=True) path1/path2:待比较的两个文件路径。 shallow :默认为True,即只比较 阅读全文
posted @ 2024-01-13 16:30 Python探索牛 阅读(114) 评论(0) 推荐(0) 编辑