--> Running shell script with python

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Thu Aug 18 05:16:29 EDT 2016


On Thursday, August 18, 2016 at 8:00:51 PM UTC+12, gm wrote:

> os.system("python /home/pi/test/testserver.sh") command
> 
> How to run shell ( not python ) script, from python code ?

Take out the “python” from the command.



More information about the Python-list mailing list