/ Published in: Python

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
for root,dir,files in os.walk(corpusDir): print "Listing " + root for file in files: #print os.path.abspath(os.path.join(root,file)) print os.path.join(root,file) print str(len(files)) + " files found."
Comments
