标签:style blog class code java color
import os def tree(top): for path, names, fnames in os.walk(top): for fname in fnames: yield os.path.join(path, fname) for name in tree(‘C:\Users\XXX\Downloads\Test‘): print name
python 遍历文件夹文件代码,布布扣,bubuko.com
标签:style blog class code java color
原文地址:http://www.cnblogs.com/kennyhr/p/3718744.html