python更改工作目录
摘要:
使用os模块获取和更改当前的工作目录 在python交互式命令窗口一次输入以下命令: import os os.getcwd() #获取当前工作目录 os.chdir('目标工作路径,如G:\\wd.python') 阅读全文
posted @ 2019-02-18 18:06 ayuandeblog 阅读(3382) 评论(0) 推荐(0) 编辑
posted @ 2019-02-18 18:06 ayuandeblog 阅读(3382) 评论(0) 推荐(0) 编辑