Answers for "use python to run command line"

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 "use python to run command line"

Python Answers by Framework

Browse Popular Code Answers by Language