10 2016 档案
python读取文件夹
摘要:1 import os 2 3 def getFiles(rootDir): 4 if os.path.isfile(rootDir): 5 print(rootDir) 6 elif os.path.isdir(rootDir): 7 for x in os.listdir(rootDir): 8 get... 阅读全文
posted @ 2016-10-12 17:30 Jinglelove 阅读(190) 评论(0) 推荐(0)