recursive_files

Home   »   recursive_files

def do_it(event):
    for root, dirs, files in os.walk("data/xml/"):
        for name in files:
            if name.endswith((".xml")):
                app = do_Something(xml_file=os.path.join(root, name), debug=debug)
                app.run()

Leave a Reply

Your email address will not be published.