On 06/05/2012 10:08 AM, Sergiu Ivanov wrote:
On Tue, Jun 5, 2012 at 4:37 PM, Alan Bromborsky<[email protected]>  wrote:
I find having the console is useful for debugging python scripts.  The
problem with using LaTeX in a script programming environment (not Ipython)
is in tracing errors.  With latex you need to post process with the LaTeX
compiler to see the output and sometimes the error is in you sympy code and
sometimes the LaTeX you generate gives an error and if you are trying to run
LaTeX transparently you don't know where the error is.  I usually get
something debugged using the console and then generate LaTeX output for
clarity.
Yes, can't but agree, but how essential are colours and boldface for
debugging purposes?  As far as my initial question was concerned,
Stefan's pointing out IPython Notebooks gave me a sufficient answer.
When the new IPython will have been released, it would be very easy to
have very fancy LaTeX printing, thus playing around with producing
boldface type in terminal doesn't seem worthwhile for *my* goals.
There may be a different, more important use case though.

In my rewrite of the GA code I have the console setup to print the
multivector bases in bold, function coefficients in red, and derivative
operators in green.
Wow, sounds great!  In case I eventually do get at implementing this
SymPy-wide, could you please tell me where I can find your rewrite?

Sergiu

If I sent you GA.zip it is in there. I don't want to submit the rewrite to sympy until I have the tests, doc strings, and docs completed. Just unzip GA.zip and run test.py (if you are running linux). If you are running windows there are instructions in GA.html for using ansicon (ansicon is in the dependencies directory under GA).

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to