Cómo subir los niveles en el camino Python
path_parent = os.path.dirname(os.getcwd())
os.chdir(path_parent)
print(os.getcwd())
SharxNZ
path_parent = os.path.dirname(os.getcwd())
os.chdir(path_parent)
print(os.getcwd())