📜  如何在路径python代码示例中提升级别

📅  最后修改于: 2022-03-11 14:45:55.185000             🧑  作者: Mango

代码示例1
path_parent = os.path.dirname(os.getcwd())
os.chdir(path_parent)
print(os.getcwd())