[sympy] Re: Unicode pretty-print under Windows

2009-06-03 Thread Joel C. Salomon
On Tue, Jun 2, 2009 at 11:16 AM, Joel C. Salomon wrote: > Is there a way for me to get the nicer Unicode pretty-printing under Windows? Bad news, it’s a Python issue. A search for windows+unicode+terminal in comp.lang.python turns up a bunch of threads about this. Good news, I got this res

[sympy] Re: Unicode pretty-print under Windows

2009-06-02 Thread Joel C. Salomon
On Tue, Jun 2, 2009 at 5:33 PM, Ondrej Certik wrote: > Ok, so this doesn't work for you? > > $ python print(u'\u03b1') > α print(u'\u03b2') > β > > then I think your terminal doesn't support unicode afterall. Which > terminal are you using? cmd.exe, or something else? Correct; α works

[sympy] Re: Unicode pretty-print under Windows

2009-06-02 Thread Joel C. Salomon
Sorry; Thunderbird glitched on me. Reposting, hopefully without formatting oddnesses. Mateusz Paprocki wrote: > could you please try once again, this time with the attached > patch applied, it should fix the problem. Now this is odd… I applied the patches (by hand; don’t know of a handy patch u

[sympy] Re: Unicode pretty-print under Windows

2009-06-02 Thread Joel C. Salomon
Sorry; Thunderbird glitched on me. Reposting, hopefully without formatting oddnesses. Mateusz Paprocki wrote: > could you please try once again, this time with the attached > patch applied, it should fix the problem. Now this is odd… I applied the patches (by hand; don’t know of a handy patch u

[sympy] Re: Unicode pretty-print under Windows

2009-06-02 Thread Joel C. Salomon
Mateusz Paprocki wrote: > could you please try once again, this time with the attached > patch applied, it should fix the problem. Now this is odd… I applied the patches (by hand; don’t know of a handy patch util for Windows) and re-ran the test: > C:\Users\chesky>python c:\Hacking\Python26\Scr

[sympy] Re: Unicode pretty-print under Windows

2009-06-02 Thread Joel C. Salomon
On Tue, Jun 2, 2009 at 3:51 PM, Ondrej Certik wrote: > On Tue, Jun 2, 2009 at 1:42 PM, Joel C. Salomon > wrote: >> Something there is that doesn’t like an α. > > Try this: > > In [18]: print u'\u03b1' > ---> print(u'\u03b1') > α > >

[sympy] Re: Unicode pretty-print under Windows

2009-06-02 Thread Joel C. Salomon
Ondrej Certik wrote: > Try this in your terminal: > > In [1]: print(u'\u2320') > ⌠ > > Does it work? If so, then it should be possible to get unicode working > in windows. Meanwhile, Aaron S. Meurer wrote: > On my machine (I am not running Windows, so I cannot be certain if it > will be the same

[sympy] Unicode pretty-print under Windows

2009-06-02 Thread Joel C. Salomon
Aaron S. Meurer wrote: > On Jun 1, 2009, at 9:33 PM, Joel C. Salomon wrote: >> • Is there a Python interface that will allow the use of Unicode symbols >> for pretty-printing? > > I believe unicode is built into python, so you shouldn't have a > problem there. The

[sympy] Installing under Windows -- Best Practices

2009-06-01 Thread Joel C. Salomon
Neighbors, I’ve been looking to play with SymPy to do some of my thesis work. I’ve got a Windows system, and could not get any “pretty printing” to work for me last time I tried it. I’m starting afresh, from fresh installations of everything, and I’d like the list’s opinions on a few things: • W

[sympy] Re: Any Updates? - Pretty Printing with Windows

2009-06-01 Thread Joel C. Salomon
Ondrej Certik wrote: > On Sun, May 31, 2009 at 9:55 PM, cjkogan111 wrote: >> Ideally I would like to output to the terminal. Showing a picture is >> also ok as long as I can quickly update it from the terminal. >> > > Thanks for the clarification. If it doesn't work, we need to fix it. > Pri