原理: os.chdir()方法是用于改变当前工作路径到指定路径。 语法: os.chdir(path) 参数: path 即要切换的新路径。 example: 转载于:https://www.cnblogs.com/clairedandan/p/10858852.html