Re: Setting prompt in ipython

2015-05-24 Thread Chris Angelico
On Sun, May 24, 2015 at 11:56 PM, Mark Lawrence wrote: > One of the major warts that (i)Python has yet to address via a PEP is that > it fails dismally when it comes to making the coffee and sandwiches to keep > you going whilst using it. Perhaps you'd like to look into this issue? I'm > not awa

Re: Setting prompt in ipython

2015-05-24 Thread Mark Lawrence
On 24/05/2015 14:07, Cecil Westerhof wrote: Op Sunday 24 May 2015 14:11 CEST schreef Cecil Westerhof: Op Sunday 24 May 2015 13:54 CEST schreef Laura Creighton: This file supposedly lists what you can customise your ipython prompt to show. I have not tried this myself. http://www.math.uiuc.ed

Re: Setting prompt in ipython

2015-05-24 Thread Cecil Westerhof
Op Sunday 24 May 2015 14:11 CEST schreef Cecil Westerhof: > Op Sunday 24 May 2015 13:54 CEST schreef Laura Creighton: > >> This file supposedly lists what you can customise your ipython >> prompt to show. I have not tried this myself. >> >> http://www.math.uiuc.edu/~gfrancis/illimath/windows/aszga

Re: Setting prompt in ipython

2015-05-24 Thread Cecil Westerhof
Op Sunday 24 May 2015 13:54 CEST schreef Laura Creighton: > This file supposedly lists what you can customise your ipython > prompt to show. I have not tried this myself. > > http://www.math.uiuc.edu/~gfrancis/illimath/windows/aszgard_mini/movpy-2.0.0-py2.4.4/manuals/IPython/node7.html I will loo

Re: Setting prompt in ipython

2015-05-24 Thread Laura Creighton
This file supposedly lists what you can customise your ipython prompt to show. I have not tried this myself. http://www.math.uiuc.edu/~gfrancis/illimath/windows/aszgard_mini/movpy-2.0.0-py2.4.4/manuals/IPython/node7.html Laura -- https://mail.python.org/mailman/listinfo/python-list

Setting prompt in ipython

2015-05-24 Thread Cecil Westerhof
In bash I have: \[\e[1m\][\D{%a, %d %b %T} \u@\h:\w]\n$ \[\e[0m\] which gives me the following prompt: [Sun, 24 May 12:23:45 cecil@Equus:~] $ I want to have a similar prompt in ipython. At the moment I have come to: %config PromptManager.in_template = r'[\T \u@\h:\Y1]\n\#> ' which