@contextmanager
def temp_dir():
    tmp = tempfile.mkdtemp()
    try:
        yield tmp
    finally:
        shutil.rmtree(tmp)
Creates temporary directory
dataset/ETHPy150Open geopython/pywps/pywps/wpsserver.py/temp_dir