I would like to run a script like in the picture in the Powershell but from python. [1]: https://i.stack.imgur.com/K7XGI.png For instance, I would like to have a code like this:
def run(namefile):
command that opens powershell
command that type in the powershell .\spim.exe .\namefile.txt
command that run the script
Does someone know how to do this ?