title: Tkinter Input and Output in One Widget
body: <p>I've been been attempting to create my own basic Python IDE. I've created an interface which contains an input text box which allows me to enter syntax and a pmw.ScrolledText which displays the resulting output from the Python interpreter. </p>
  
  <p>What I'm really hoping to do is combine these two widgets into a single widget which can handle both input and output. I haven't found any such widget but I'm fairly certain it is possible to do this somehow since Idle is written in Tk and it is basically what I'm looking for in my application. Looking through the Idle source code isn't really showing me a concise way to do this.</p>
  
  <p>Basically I'm looking for a something like a pmw.ScrolledText which takes input and can also display output.</p>
  
  <p>I'm just wondering if this is possible with Tk and any ideas on the potential route that could be taken to make it work.</p>
  
  <p>Thanks.</p>