<div class="gmail_quote">On 14 September 2011 19:40, Kuznetsov Valentin <span dir="ltr"><<a href="mailto:vkuznet@gmail.com">vkuznet@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In ipython version < 0.11 I was able to dynamically change prompt into ipython session as simple as</blockquote></div><br>I don't actually know the best way to do this in 0.11, but note that we're planning to rewrite the prompt system for (hopefully) 0.12. There's some discussion going on about how best to do this, but you'll hopefully be able to do something like:<br>
<br>ip = get_ipython()<br>ip.prompt_manager.in_prompt = 'whatever'<br><br>Have a look at PR #507: <a href="https://github.com/ipython/ipython/pull/507">https://github.com/ipython/ipython/pull/507</a><br><br>Thanks,<br>
Thomas<br>