Como executar o comando Linux em Python
import os
cmd = 'your command here'
os.system(cmd)
Pinksheep
import os
cmd = 'your command here'
os.system(cmd)
import subprocess
subprocess.call("command1")
subprocess.call(["command1", "arg1", "arg2"])