Added python output catching features

It is requiered to be able to catch the python interperter's output for
a user-side graphical display