Answers for "how run command command in python"

1

python write to command prompt

import os
os.system("start /B start cmd.exe @cmd /k {command}")
Posted by: Guest on November-16-2020
23

execute command in python script

import os

os.system("ma Commande")

#Exemple:

os.system("cd Documents")
Posted by: Guest on June-10-2020

Code answers related to "how run command command in python"

Python Answers by Framework

Browse Popular Code Answers by Language