Jak uruchomić polecenie Linux w 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"])