遍历目录及文件
摘要:import os def traverse_doc(rootdir): for root,dirs,files in os.walk(rootdir) for file in files: fp=os.path.join(root,file) for dir in dirs: traverse_d
阅读全文
posted @ 2019-04-21 17:57
posted @ 2019-04-21 17:57