[IPython-dev] wxPython console

Thomas Kluyver takowl at gmail.com
Thu Nov 3 16:29:54 EDT 2011

On 3 November 2011 18:21, Emmanuel Bacry <emmanuel.bacry at polytechnique.fr>wrote:

> Will it tell me what is the level of indentation I need for an eventual
> acceptable line ?

Yes, your InputSplitter instance should have an indent_spaces attribute,
which is an integer multiple of 4, and applies to the next line. So if you
push a line "if a > 5:" to the InputSplitter, isp.indent_spaces will

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20111103/4416a801/attachment.html>

More information about the IPython-dev mailing list