阅读背景:

在python脚本中运行powershell脚本,如何让python在运行时打印powershell输出

来源:互联网 

I am writing a python script which checks various conditions and runs a powershell script accordingly to help me automate migration from windows XP to windows 7. The powershell script gives its own output giving the user updates as to what is happening. I would like to take the output of the powershell script and print it as output of the python script. I have looked around at some questions which seem to want to do the same thing but they don't seem to be working for me. Initially I tried usingI am writing a python script which checks vario




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

分享到: