python 与 shell
摘要:
1.python调用shell脚本 a.python中调用shell脚本 import os os.system('sh ~/svnrepos/1.sh') #返回0,表示执行成功 os.popen() #带有输出结果,返回的是一个文件对象,可用read()方法读取; Import subproce 阅读全文
posted @ 2020-07-14 14:49 八百逗比奔北坡i 阅读(186) 评论(0) 推荐(0)
浙公网安备 33010602011771号