<div class="gmail_quote">On 4 November 2011 10:37, Emmanuel Bacry <span dir="ltr"><<a href="mailto:emmanuel.bacry@polytechnique.fr">emmanuel.bacry@polytechnique.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
1- Is there a module in InteractiveShell to do automatic () match, i.e.,<br>
give me the '(' corresponding to a just typed in ')' ?<br></blockquote><div><br>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.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2- Is there a way to get interactive help while typing in the shell (à la<br>
Spyder if you are used to it) ?</blockquote></div><br>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 <a href="http://shell.inspector.info">shell.inspector.info</a>(x). Also, if the user enters something like "theobject.attr?", information about attr will be displayed.<br>
<br>Thomas<br>