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/aszgard_mini/movpy-2.0.0-py2.4.4/manuals/IPython/node7.html
>
> I will look into it.

I use the following in ~/.ipython/profile_default/startup/00-init.ipy:
    import time

    %config PromptManager.in_template = r'[{time.strftime("%a, %d %b %T")} 
\u@\h:\Y1]\nIn [\#]: '

Now I should contemplate what other things would be useful there. ;-)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to