[IPython-dev] wxPython console

Thomas Kluyver takowl@gmail....
Mon Nov 7 09:23:28 CST 2011


On 7 November 2011 14:51, Emmanuel Bacry <emmanuel.bacry@polytechnique.fr>wrote:

> I have some problem using this last advice for redirection. Let me explain.
> If I override sys.stdout before creating the InteractiveShell, then it
> fails :
>
>
Looking at the code for IPython.utils.io, it seems your stdout object needs
to have both .write() and .flush() methods. With this done, the default
displayhook should just work.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20111107/0c84cbe4/attachment.html 


More information about the IPython-dev mailing list