Return to Snippet

Revision: 13016
at April 5, 2009 12:20 by fnurl


Initial Code
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."

Initial URL

                                

Initial Description

                                

Initial Title
List files in directory tree

Initial Tags

                                

Initial Language
Python