PyShellWindow is a class that provides an Interactive Interpreter running inside a wxStyledTextCtrl, similar to the Python shell windows found in IDLE and PythonWin.
There is still much to be done to improve this class, such as line buffering/recall, autoindent, calltips, autocomplete, fixing the colourizer, etc... But it’s a good start.