def iter_filenames(paths, exclude=None, ignore=None):
    if set(paths) == set(('-',)):
        yield '-'
        return
    for path in paths:
        if os.path.isfile(path):
            yield path
            continue
        for filename in explore_directories(path, exclude, ignore):
            yield filename
Subclasses should override this if they need variables held
dataset/ETHPy150Open rubik/radon/radon/cli/tools.py/iter_filenames--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/costs/cost.py/Cost.get_fixed_var_descr