Python de ruta separada
path, head, tail = os.path.split(path)
Real Raccoon
path, head, tail = os.path.split(path)