[IPython-dev] display_hooks ipython

Omar Andrés Zapata Mesa andresete.chaos at gmail.com
Tue Jun 8 00:27:09 EDT 2010


Hi all
I can  now get tracebacks output, but I cant get ipython outputs like

Out[4]:2
how can I get it?
thanks

El 7 de junio de 2010 20:17, Omar Andrés Zapata Mesa <
andresete.chaos at gmail.com> escribió:

> hi all.
> how could I set my display hook in ipython?
> I am using
>
> I am  inheriting from InteractiveShell and I need get the runlines output
>
>  self.display_hook=DisplayHook(self.session,self.pub_socket)
>  for name in hooks.__all__:
>                self.set_hook(name,self.display_hook)
>
> but the error is
> /home/omazapa/MyProjects/GSoC/ipython-zmq/IPython/core/hooks.py", line 144,
> in __call__
> __call__() takes exactly 2 arguments (5 given)
>
>
>
> how can I do it?
>
> O.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20100607/cc7f040f/attachment.html>


More information about the IPython-dev mailing list