def mkdir_p(path):
    try:
        if os.path.isdir(path):
            return

        os.makedirs(path)
    except __HOLE__ as e:
        if e.errno == errno.EEXIST:
            pass
        else:
            raise e
dataset/ETHPy150Open Netflix/aminator/aminator/util/linux.py/mkdir_p