No, don't execute things with isympy. isympy is just for interactive use. If you copy and paste the code from relativity.py into a python interpreter, does the Unicode work?
Aaron Meurer On Thu, Feb 10, 2011 at 10:57 AM, Dox <[email protected]> wrote: > Thank you guys, the unicode works in isympy! But now, Is there a way > of load the .py file > > I tried in the terminal > $ isympy Relativity.py > Retativity.txt > > and didn't work. > > Thx again, > > Dox. > > On Feb 10, 5:21 pm, "Aaron S. Meurer" <[email protected]> wrote: >> You need to have a terminal that supports unicode. Try this: run isympy >> from ./bin/isympy and see what >> >> Symbol('nu') >> >> gives you. If it's the greek letter, then your terminal supports unicode. >> Otherwise, it doesn't (or at least sympy can't figure out that it does). >> >> Aaron Meurer >> >> On Feb 10, 2011, at 6:36 AM, Dox wrote: >> >> >> >> >> >> >> >> > Hi everyone! >> >> > I'm new around here, so excuse if my questions are not that clever :-P >> >> > I was checking the relativity sheet designed by Ondrej >> >https://github.com/sympy/sympy/blob/master/examples/advanced/relativi... >> > and when I run it the output doesn't show the Greek letters as it's >> > supposed, but I get a lot of (whole strings) `nu` and `lambda` in the >> > final text file. >> >> > Do I need a special package for that? >> >> > * I've the last version of sympy installed and I'm also a SAGE user. >> > * Running Ubuntu 10.10, 32-bits >> > * Python 2.6.6. >> >> > Thx. >> >> > Dox > > -- > 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. > > -- 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.
