+ 2
Switch Command Prompt
I can need to open cmd, type in a Command, and do that with a python script. It would be a huge bonus if I could run it from Command Prompt too.
5 Respostas
+ 1
import os
os.system("start cmd /c {command here}")
0
does that work from cmd ?
0
what directory is it set to, as it is not working.
0
any other solutions ?
0
Why the coding learned here is not running on the python 3.10 cmd prompt?