On Wed, Apr 16, 2008 at 4:50 PM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote:
>
>  On Wed, Apr 16, 2008 at 04:47:49PM +0200, Ondrej Certik wrote:
>  > 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:
>
>  I have noticed this, and I agree.
>
>
>  > In [1]: Eq(z, "==", x/y)
>  > Out[1]:
>  >     x
>  > z = ─
>  >     y
>
>  Oh, fine :-)

Or if you know some better syntax, maybe just

Eq(x, y)

?

Ondrej

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