for root, dirs, files in os.walk('rda_archives'): for filename in files: <load the xml file here and do the XML logic> code example
Example: os walk example
import os
folder_path = r'C:\Test'
for root,dirs,files in os.walk(folder_path, topdown=True):
print(root)
print(dirs)
print(files)