Answers for "run command in python file"

30

execute command in python script

import os

os.system("ma Commande")

#Exemple:

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

execute command in python

import os

os.system("Command") # this is your cmd/terminal
Posted by: Guest on April-14-2022

Code answers related to "run command in python file"

Python Answers by Framework

Browse Popular Code Answers by Language