会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
mo_wang
苏格拉没有底。。。
博客园
首页
新随笔
订阅
管理
2015年9月12日
python与shell的3种交互方式介绍
摘要: 【目录】1.os.system(cmd)2.os.popen(cmd)3.利用subprocess模块4.subprocessor模块进阶【概述】考虑这样一个问题,有hello.py脚本,输出”hello, world!”;有testinput.py脚本,等待用户输入,然后打印用户输入的数据。那么,...
阅读全文
posted @ 2015-09-12 10:30 mo_wang
阅读(13305)
评论(0)
推荐(0)
编辑
公告