会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
godlover
Trouble is a stepping stone to success!
博客园
首页
新随笔
联系
订阅
管理
2019年11月19日
subprocess,re,logging模块
摘要: subprocess: sub:子 process:进程 调用Popen就会将用户的终端命令发送给本地操作系统的终端 得到一个对象,对象中包含着正确或者错误的结果 import subprocess while True: cmd_str = input('请输入终端命令:').strip(
阅读全文
posted @ 2019-11-19 21:04 godlover
阅读(130)
评论(0)
推荐(2)
编辑
公告