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