Yields: str: All files in rootdir, recursively.
(rootdir)
| 75 | |
| 76 | |
| 77 | def recursive_walk(rootdir): |
| 78 | """ |
| 79 | Yields: |
| 80 | str: All files in rootdir, recursively. |
| 81 | """ |
| 82 | for r, dirs, files in os.walk(rootdir): |
| 83 | for f in files: |
| 84 | yield os.path.join(r, f) |
| 85 | |
| 86 | |
| 87 | def get_dataset_path(*args): |