摘要: OS模块 1.getcwd() 用来获取当前工作目录 2.chdir(path) 用来改变当前工作目录 3.listdir(path='.') 用来列举当前目录下有哪些文件和子目录,默认值是'.',也可以用'..'代表上层目录 os.path模块 介绍常用的os.path.join(path1[,p 阅读全文
posted @ 2018-01-27 10:24 嶙羽 阅读(274) 评论(0) 推荐(0) 编辑