(root_dir, ext='.jpg')
| 23 | |
| 24 | |
| 25 | def find_recursive(root_dir, ext='.jpg'): |
| 26 | files = [] |
| 27 | for root, dirnames, filenames in os.walk(root_dir): |
| 28 | for filename in fnmatch.filter(filenames, '*' + ext): |
| 29 | files.append(os.path.join(root, filename)) |
| 30 | return files |
| 31 | |
| 32 | |
| 33 | class AverageMeter(object): |
nothing calls this directly
no outgoing calls
no test coverage detected