标签: os.chdir()

后浪云Python教程:python os.chdir()的使用

1、os.chdir()用于改变当前工作目录到指定的路径。 2、语法为os.chdir(path)。 3、参数path,要切换到的新路径。 4、返回值,如果允许访问返回True,否则Fals……