[IPython-user] custom command prompt

Fernando Perez fperez.net@gmail....
Sun Nov 25 14:54:07 CST 2007


On Nov 25, 2007 1:44 PM, Darren Dale <darren.dale@cornell.edu> wrote:
> I'm just passing along a nice command prompt for ipython.
> This can go in ipy_user_conf.py:

Nice :) Here's a complete set so their lengths match when multi-line
input is present:

o.prompt_in1 = r'\C_LightBlue[\C_LightCyan\Y2\C_LightBlue]\C_Normal\n\C_Green|\#>
'
o.prompt_in2 = r'.\D: '
o.prompt_out = r'[\#] '

I'll put in a copy of these in the conf file (commented out) so people
can easily change them if they so desire.

Cheers,

f


More information about the IPython-user mailing list