[IPython-User] modify / configure / customize ipython notebook command prompt

MinRK benjaminrk@gmail....
Wed Jan 16 13:27:19 CST 2013


On Wed, Jan 16, 2013 at 11:23 AM, Daniel Wheeler
<daniel.wheeler2@gmail.com>wrote:

> Hi,
>
> I've been trying to modify the default notebook command prompt in version
> 0.13.1.
>
> Configuring the regular ipython prompt requires changing
> "c.PromptManager.in_template" in "ipython_config.py". This seems to work
> fine for the standard prompt.
>
> To change the notebook prompt, I added "ipython_notebook_config.py" and
> included
>
>    c = get_config()
>    c.ZMQInteractiveShell.prompt_in1 = 'test prompt:'
>
> or
>
>    c = get_config()
>    c.PromptManager.in_template = 'test prompt:'
>
> Print statements show that "ipython_notebook_config.py" is being read on
> start up, but the notebook command prompt is still the same default prompt.
> Any ideas?
>

The prompt config only affects terminal IPython.  Notebook prompt is not
configurable (yet).


>
> Thanks.
>
> --
> Daniel Wheeler
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130116/560c9c4e/attachment.html 


More information about the IPython-User mailing list