02 2020 档案
python_os模块
摘要:import os #OS模块 #函数:getcwd() currentPath=os.getcwd() #返回当前工作目录 print('返回当前工作目录:{0}'.format(currentPath)) #函数:chdir(path) os.chdir('D:\\') #改变工作目录 curr
阅读全文