import subprocess subprocess.call(["sudo", "apt", "update"])
import subprocess print "start" subprocess.call("sleep.sh") print "end"