SyntaxFix
Write A Post
Hire A Developer
Questions
Here's a snippet that will walk the file tree for you:
indir = '/home/des/test' for root, dirs, filenames in os.walk(indir): for f in filenames: print(f) log = open(indir + f, 'r')