title: Python or Bash print output to command line ready to be executed
body: <p>I'm trying to write a Python or Bash script that outputs a bash command directly to the command line (i.e. as if I just typed it and could then hit enter to execute it). </p>
  
  <p>How can I output the command in this fashion?</p>