1directory = "c:\\folder\\you\\want\\to\\work_on"
2
3for root, subdirectories, files in os.walk(directory):
4 for subdirectory in subdirectories:
5 print(os.path.join(root, subdirectory))
6 for file in files:
7 print(os.path.join(root, file))