2019年1月19日
摘要: import osimport collections#通过栈遍历目录(深度遍历)def test(path): stack=[] stack.append(path) #处理栈 while len(stack)!=0: dirpath=stack.pop() filelist=os.listdir 阅读全文
posted @ 2019-01-19 09:17 wfw001 阅读(127) 评论(0) 推荐(0) 编辑