[IPython-dev] wxPython console

Thomas Kluyver takowl at gmail.com
Mon Nov 7 10:23:28 EST 2011

On 7 November 2011 14:51, Emmanuel Bacry <emmanuel.bacry at 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.

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

More information about the IPython-dev mailing list