def _reverse_path(path):
 path_parts = path.split(_PATH_CELL_SEP)
 path_parts.reverse()
 return _PATH_CELL_SEP.join(path_parts)

def _reverse_path ( path ) : path_parts = path . split ( _PATH_CELL_SEP ) path_parts . reverse ( ) return _PATH_CELL_SEP . join ( path_parts )
reverse a path .