Answers for "python file to run script commands"

28

execute command in python script

import os

os.system("ma Commande")

#Exemple:

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

how to run a python script

#terminal, <python path> <python file>
/usr/bin/python /mydir/myscript.py
Posted by: Guest on December-21-2021

Code answers related to "python file to run script commands"

Python Answers by Framework

Browse Popular Code Answers by Language