Python OS 目錄遍歷(迭代+os.walk())

#-*- coding:utf-8 –*- import os def dirList(path): filelist = os.listdir(path) allfiled = [] for filename in filelist: filepath = os.path.join(path, filename) if os.path.
相關文章
相關標籤/搜索