摘要: Python 遍历子目录的一种高效方式 import os def traverse(path): subees=os.walk(path) for path, dirs, files in subees: for file in files: print(file) if __name__ == 阅读全文
posted @ 2023-01-17 17:49 余生以学 阅读(75) 评论(0) 推荐(0) 编辑