def mkdir_p(path):
    '''Make directory and all subdirectories if they do not exist'''

    try:
        os.makedirs(os.path.abspath(path))
    except __HOLE__ as exc:
        if exc.errno == errno.EEXIST and os.path.isdir(path):
            pass
        else:
            raise
dataset/ETHPy150Open blitzrk/sublime_libsass/libsass/pathutils.py/mkdir_p