Re: [sage-support] Disabling the "sage: " prompt

2010-08-24 Thread William Stein
On Tue, Aug 24, 2010 at 1:57 PM, Jeroen Demeyer 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.in

[sage-support] Disabling the "sage: " prompt

2010-08-24 Thread Jeroen Demeyer
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 su