def dirname(p):
    return split(p)[0]


# Return the longest prefix of all list elements.
Returns the directory component of a pathname
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/posixpath.py/dirname