[IPython-dev] wxPython console
Fri Nov 4 06:08:35 CDT 2011
On 4 November 2011 10:37, Emmanuel Bacry <firstname.lastname@example.org>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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev