def paths_exist(input_directory, paths):
    for path in paths:
        path = join(input_directory, path)
        if not exists(path):
            raise ValueError('Error: <%s> does not exist' % path)
Check if a path exists or not
dataset/ETHPy150Open coursera/dataduct/examples/resources/scripts/s3_profiler.py/paths_exist