python subprocess run a linux command code example
Example: run linux command using python
import subprocess
subprocess.call("command1")
subprocess.call(["command1", "arg1", "arg2"])
import subprocess
subprocess.call("command1")
subprocess.call(["command1", "arg1", "arg2"])