摘要: os.walk()返回三个参数:os.walk(dirpath,dirnames,filenames) for dirpath,dirnames,filenames in os.walk(): 返回dirnames,filenames的类型为列表list[] 返回的dirpath为filenames 阅读全文
posted @ 2017-01-04 15:35 Norwegian-Wood 阅读(520) 评论(0) 推荐(0) 编辑