Hi all<div>I can  now get tracebacks output, but I cant get ipython outputs like </div><div><br></div><div>Out[4]:2</div><div>how can I get it?</div><div>thanks</div><div><br><div class="gmail_quote">El 7 de junio de 2010 20:17, Omar Andrés Zapata Mesa <span dir="ltr"><<a href="mailto:andresete.chaos@gmail.com">andresete.chaos@gmail.com</a>></span> escribió:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi all.<div>how could I set my display hook in ipython?</div><div>I am using </div><div><br></div><div>I am  inheriting from InteractiveShell and I need get the runlines output</div>

<div><br></div><div> self.display_hook=DisplayHook(self.session,self.pub_socket)</div>
<div> for name in hooks.__all__:</div><div>               self.set_hook(name,self.display_hook)</div><div><br></div><div>but the error is </div><div>/home/omazapa/MyProjects/GSoC/ipython-zmq/IPython/core/hooks.py", line 144, in __call__ </div>


<div>__call__() takes exactly 2 arguments (5 given)</div><div><br></div><div><br></div><div><br></div><div>how can I do it?</div><div><br></div><font color="#888888"><div>O.</div>
</font></blockquote></div><br></div>