阅读背景:

将批处理文件输出管道输出到Python脚本

来源:互联网 

I'm trying to write a python script (in windows) that runs a batch file and will take the command line output of that batch file as input. The batch file runs processes that I don't have access to and gives output based on whether those processes are successful. I'd like to take those messages from the batch file and use them in the python script. Anyone have any ideas on how to do this ?I'm trying to write a python script (in windows




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: