title: Python terminal emulation
body: <p>I'd like to have an xterm-compatible virtual terminal running inside a Python app.
  I'll need to run ncurses-based applications inside it, feed it with user's input and read its output.</p>
  
  <p>So far I've found python-vte, but it only provides a GTK+ widget (libvte has the required VtePty class, but Python bindings don't) and has an unacceptable libgtk dependency.</p>
  
  <p>Is there any other way to perform a teminal emulation in Python?</p>