how to run bash sh file using python code example
Example: How to run bash script in python
import subprocess
print "start"
subprocess.call("sleep.sh")
print "end"
import subprocess
print "start"
subprocess.call("sleep.sh")
print "end"