摘要: 使用python脚本调用 cmd命令,主要用到了 os.system 方法,以下是几个常用的语法 1 import os 2 3 1.判断目录是否存在,如果不存在,就新增 4 if not os.path.exists(new_path): 5 os.makedirs(new_path) 6 7 8 阅读全文
posted @ 2021-11-09 09:00 菜小鱼~ 阅读(3247) 评论(0) 推荐(0) 编辑