python-subprocess 返回数据实时更新

对于shell的命令实时更新 import subprocess cmd = "你的shell命令" res = subprocess.Popen(shell, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) for lin
posted @ 2020-09-16 14:57  Wind_LPH  阅读(950)  评论(0编辑  收藏  举报