I looked at this last night and it looks like _sympyrepr_ and _sympystr_ are the recommended ways. In practice _sympystr_ gets used most of the time. For pretty printing using the pretty function, I am creating a patch to enable a _pretty_ method. Then things like |alpha> will look right.
Cheers, Brian > Another thing: is __repr__() still the recommended way to get nice > printing? There are some closed issues about that, and I got the > impression it should be avoided, but I don't know what should be used > instead... > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sy...@googlegroups.com. > To unsubscribe from this group, send email to > sympy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sy...@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.