def _create_temp_dir():
    tmpdir = tempfile.mkdtemp(prefix='wppm_')
    atexit.register(lambda path: shutil.rmtree(path, onerror=onerror), tmpdir)
    return tmpdir
Create a temporary directory and remove it at exit
dataset/ETHPy150Open winpython/winpython/winpython/utils.py/_create_temp_dir