Answers for "execute python script linux"

30

execute command in python script

import os

os.system("ma Commande")

#Exemple:

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

Shell script to run python

In the file job.sh, put this
#!/bin/sh
python python_script.py
Execute this command to make the script runnable for you : chmod u+x job.sh
Run it : ./job.sh
Posted by: Guest on May-31-2022

Code answers related to "execute python script linux"

Python Answers by Framework

Browse Popular Code Answers by Language