Answers for "run execute python script from command line"

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 "run execute python script from command line"

Python Answers by Framework

Browse Popular Code Answers by Language