[IPython-User] formatting console terminal prompt?
Thu Mar 22 19:15:29 CDT 2012
With respect to the qtconsole, I have successfully managed to format the
number that is contained in the In prompt by setting this in the
c.IPythonWidget.in_prompt = 'In [<span
This leaves 3 formatted slots for the digit in the prompt? I tried doing
something similar with the console
c.TerminalInteractiveShell.prompt_in1 = 'In [\\#]: '
But I can't figure out how to make the same formatting change here. That
is, to make the digit contained in the brackets to have 3 formatted slots.
More information about the IPython-User