import subprocess  subprocess.run("Your command here")

Read more of this post