I read this somewhere a while ago but cant seem to find it. I am trying to find a command that will execute commands in the terminal and then output the result.
For
import os os.system("echo 'hello world'")
This should work. I do not know how to print the output into the python Shell.