title: Print CMD results into a GUI text box tkinter
body: <p>I'd like to distribute my program around the office so other people can use it when I'm not in</p>
  
  <p>my code:</p>
  
  <pre><code>from tkinter import *
  import os
  
  
  top = Tk()
  top.wm_title("testest")
  top.minsize(width=300, height=150)
  top.maxsize(width=300, height=150)
  
  def runscript():
      os.system('python test.py')
  
  B = Tk.Button(top, text = 'Run test', command = runscript)
  B.config(width=15, height=1)
  B.pack()
  top.mainloop()
  </code></pre>
  
  <p>Is there any way I can have my print functions in the .py file print out in a GUI text box instead of the command line? </p>