[IPython-dev] wxPython console

Thomas Kluyver takowl@gmail....
Fri Nov 4 06:08:35 CDT 2011


On 4 November 2011 10:37, Emmanuel Bacry <emmanuel.bacry@polytechnique.fr>wrote:

> 1- Is there a module in InteractiveShell to do automatic () match, i.e.,
> give me the '(' corresponding to a just typed in ')' ?
>

Not that I know of. The Qt console does it, so you could hunt out the code
that it uses, but it may not be neatly packaged in a function.


> 2- Is there a way to get interactive help while typing in the shell (à la
> Spyder if you are used to it) ?


I'm not used to spyder, but the Qt console produces tooltips when you open
the bracket for a function call, describing what parameters the function
takes. You could implement something similar using shell.inspector.info(x).
Also, if the user enters something like "theobject.attr?", information
about attr will be displayed.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20111104/0c2282a9/attachment-0001.html 


More information about the IPython-dev mailing list