[IPython-dev] display_hooks ipython

Omar Andrés Zapata Mesa andresete.chaos@gmail....
Mon Jun 7 23:27:09 CDT 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@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.scipy.org/pipermail/ipython-dev/attachments/20100607/cc7f040f/attachment.html 


More information about the IPython-dev mailing list