(path)
Emulates `mkdir -p` behavior.
Emulates `mkdir -p` behavior.
Emulates mkdir - p behavior .
def mkdir_p(path):
    """Emulates `mkdir -p` behavior."""
    try:
        makedirs(path)
    except OSError as exc: # Python >2.5
        if exc.errno == errno.EEXIST:
            pass
        else:
            raise
def mkdir_p ( path ) : try : makedirs ( path ) except OSError as exc : # Python >2.5 if exc . errno == errno . EEXIST : pass else : raise