On Wed, Apr 16, 2008 at 4:37 PM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote:
>
>  Hello,
>
>  how can I pretty print an equation like
>
>     x
>  z = -
>     y
>
>  My attempt fails:
>
>  In [1]: var('x y z')
>  Out[1]: (x, y, z)
>
>  In [2]: pretty(z==x/y)
>  Out[2]: False
>
>  For some month ago this works.

== Now returns True/False, as this is more Pythonic and also a lot faster. Use:

In [1]: Eq(z, "==", x/y)
Out[1]:
    x
z = ─
    y

In [2]: pretty(Eq(z, "==", x/y))
Out[2]:
    x
z = ─
    y

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
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