【发布时间】:2021-02-07 20:36:05
【问题描述】:
我想在 Powershell 中运行一个类似于图片中的脚本,但来自 python。 [1]:https://i.stack.imgur.com/K7XGI.png 比如我想要这样的代码:
def run(namefile):
command that opens powershell
command that type in the powershell .\spim.exe .\namefile.txt
command that run the script
有人知道怎么做吗?
【问题讨论】:
标签: python windows powershell