def mktempdir(mode=None):
    dir_name = tempfile.mkdtemp()
    if mode:
        os.chmod(dir_name, mode)
mktempdir(mode=None)
dataset/ETHPy150Open facebook/IT-CPE/code/lib/modules/fs_tools.py/mktempdir