On Sun, Jul 12, 2009 at 3:33 PM, Christophe<[email protected]> wrote:
>
> Hello,
> I would like to use in my own code the output of print_mathml. Is it
> possible ?

Yes:

In [1]: from sympy.printing.mathml import mathml

In [2]: mathml(x**2 * sin(y))
Out[2]:
<apply><times/><apply><power/><ci>x</ci><cn>2</cn></apply><apply><sin/><ci>y</
ci></apply></apply>


> Is there a pure ASCII printer ?

You mean ascii art? Yes, the pprint().

Ondrej

--~--~---------~--~----~------------~-------~--~----~
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