I suggest to take a look at
frmouterr-py242-wxpy2621.zip (3 kb) http://spinecho.ifrance.com/
The stdout/stderr are redirected to a StyledTextCtrl (stc) with
different colours for stdout and stderr output.
In this small example, the stc sits on a separate wx.Frame, embedding
the stc in a "right panel" should not be a too difficult task.
Jean-Michel Fauth, Switzerland.