python 切换目录

import os
os.getcwd() # 输出当前工作目录
os.chdir(path) # 改变工作目录至path
原文地址:https://www.cnblogs.com/nishilunhui/p/2575909.html