Python怎么运行shell脚本
Python运行shell脚本的方法:1、使用os.system(“command”)方法,缺点是不会返回shell命令执行结果;2、使用os.popen("command")方法,可以返回shell命令的执行结果。
Python学习网 2020-03-25 5825
shell脚本的相关搜索
热门标签
文章热搜
教程热榜