@@ -0,0 +1,535 @@
+%22%22%22A script for parsing the Imagenet bounding box XML files.%22%22%22%0A%0Aimport sys%0Aimport os%0Aimport itertools%0Aimport xml.etree.ElementTree as ET %0A%0Adef parse_file(bbox_dir, filepath): %0A    tree = ET.parse(bbox_dir + filepath)%0A    print root.findall('./')%0A    pass%0A%0Aif __name__ == '__main__': %0A    bbox_dir = sys.argv%5B1%5D%0A    xml_files_by_dir = (i%5B2%5D for i in os.walk(bbox_dir))%0A    bbox_xml_filenames = itertools.chain(*xml_files_by_dir)%0A%0A    parsed_results = %5Bparse_file(bbox_dir, filename) for %5C%0A            filename in bbox_xml_filenames%5D%0A%0A%0A

Initialize parse_imagenet_bb.py with main block