Answers for "how to make python execute a command line"

4

how to execute a cmd command in python

CMD /K - execute a command then remain

import os
os.system('cmd /k "Your Command Prompt Command"')
Posted by: Guest on July-30-2020
5

python run command

import os
os.system('cmd /k "Your Command Prompt Command"')
Posted by: Guest on June-20-2020

Code answers related to "how to make python execute a command line"

Python Answers by Framework

Browse Popular Code Answers by Language