(p)
return split(p)[0]
Returns the directory component of a pathname
Returns the directory component of a pathname
Returns the directory component of a pathname
def dirname(p):
    """Returns the directory component of a pathname"""
    return split(p)[0]
def dirname ( p ) : return split ( p ) [ 0 ]