(path)
os.path.makedirs without EEXIST.
os.path.makedirs without EEXIST.
os . path . makedirs without EEXIST .
def ensure_dir(path):
    # type: (AnyStr) -> None
    """os.path.makedirs without EEXIST."""
    try:
        os.makedirs(path)
    except OSError as e:
        if e.errno != errno.EEXIST:
            raise
def ensure_dir ( path ) : # type: (AnyStr) -> None try : os . makedirs ( path ) except OSError as e : if e . errno != errno . EEXIST : raise