Neat. And looks better, at least on my machine, if you had a tab or two and an extra \n after the dirs.
rick
for filepath, dirs, files in os.walk(root):
#you're looking at the "dirs" and "files" in filepath
print "Currently in %s" % filepath
print "\t[Directories in %s]" % filepath
print '\t' + "\n\t".join(dirs) + '\n'
print "\t[Files in %s]" % filepath
print '\t' + "\n\t".join(files)
print "=" * 50
--
http://mail.python.org/mailman/listinfo/python-list
