[IPython-dev] display_hooks ipython

Omar Andrés Zapata Mesa andresete.chaos@gmail....
Mon Jun 7 20:17:25 CDT 2010


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/4ec20f66/attachment.html 


More information about the IPython-dev mailing list