摘要: 1.os.walk(top, topdown=True, onerror=None, followlinks=False)Generate the file names in a directory tree by walking the tree either top-down or bottom-up. For each directory in the tree rooted at directory top (including top itself), it yields a 3-tuple (dirpath, dirnames, filenames).dirpath is a st 阅读全文
posted @ 2013-03-22 14:31 agile_work 阅读(1007) 评论(0) 推荐(0) 编辑