摘要: subprocess: ​sub:子 ​process:进程 ​调用Popen就会将用户的终端命令发送给本地操作系统的终端 ​得到一个对象,对象中包含着正确或者错误的结果 import subprocess while True: cmd_str = input('请输入终端命令:').strip( 阅读全文
posted @ 2019-11-19 21:04 godlover 阅读(130) 评论(0) 推荐(2) 编辑