list of files in folder and subfolders code example
Example: get list of all files in folder and subfolders python
for path, subdirs, files in os.walk(root):
for name in files:
print os.path.join(path, name)
for path, subdirs, files in os.walk(root):
for name in files:
print os.path.join(path, name)