On Tue, Aug 24, 2010 at 1:57 PM, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
> Hello,
>
> I would like to disable the "sage: " prompt from within Sage. I would
> like to call Sage from a script (using pipes) and the prompt makes it
> harder to parse the output.
>
> The best approximation that I found was
> sage.misc.interpreter.set_sage_prompt("")
> which reduces the prompt to ": "
>
> I'm sure this is easy but I just can't find out how to do it.

Look at $HOME/.sage/ipython/ipythonrc

This would be a great question for http://ask.sagemath.org.  It's very
clear, could have some good answers, etc.

William

>
> Thanks,
> Jeroen.
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to 
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to