摘要: 一、Python os模块(Linux环境) 1.1 执行shell命令 os.system('cmd') 执行命令不保存结果 os.popen('command') 执行后返回结果,使用.read()方法读出 1.2 对文件和目录的创建删除等 1.2.1 目录 os.getcwd()获得当前目录 阅读全文
posted @ 2018-08-06 18:11 G1733 阅读(253) 评论(0) 推荐(0) 编辑