Re: [Numpy-discussion] Distributing prebuilt numpy and other extensions

2007-02-20 Thread Robert Kern
David Cournapeau wrote: > I don't know much about Mac OS X, but PyMC distributes binaries for > intel and ppc Mac in a way similar to what you are looking for: > > http://trichech.us/?page_id=3 Or rather http://trichech.us/?page_id=4 Unfortunately, those builds are currently broken. > Unfor

Re: [Numpy-discussion] Distributing prebuilt numpy and other extensions

2007-02-20 Thread David Cournapeau
Zachary Pincus wrote: > Hello folks, > > I've developed some command-line tools for biologists using python/ > numpy and some custom C and Fortran extensions, and I'm trying to > figure out how to easily distribute them... > > For people using linux, I figure a source distribution is no problem

Re: [Numpy-discussion] Greek Letters

2007-02-20 Thread Andrew Straw
Robert Kern wrote: > On Windows, you may be out of luck. I don't know of any > fully-Unicode-capable terminal. The lack of a decent console application is one of the most problematic issues I face whenever attempting to do serious programming in Windows. I wish I knew of a better terminal program

Re: [Numpy-discussion] Greek Letters

2007-02-20 Thread Mark Janikas
Great info. The last part about the sys.stdout not working everywhere is a bit troubling. But For now, I am just gonna add a try statement as stated in the previous message. Thanks again, MJ PS... The software company I work for has a version that runs on Unix/Linux so I am awaiting a new l

Re: [Numpy-discussion] Greek Letters

2007-02-20 Thread Stefan van der Walt
On Tue, Feb 20, 2007 at 05:29:25PM -0800, Mark Janikas wrote: > Oh. I am using CygWin, and the website I just went to: > > http://www.cygwin.com/faq/faq_3.html > > > stated that: " The short answer is that Cygwin is not Unicode-aware" > > Not sure if this is going to apply to python in general

Re: [Numpy-discussion] Greek Letters

2007-02-20 Thread Robert Kern
Mark Janikas wrote: > Thanks Robert but alas, I get. > import sys sys.stdout.encoding > 'cp437' print u'\u03a7\u00b2'.encode(sys.stdout.encoding) > Traceback (most recent call last): > File "", line 1, in ? > File "C:\Python24\lib\encodings\cp437.py", line 18, in encode

Re: [Numpy-discussion] Greek Letters

2007-02-20 Thread Mark Janikas
Oh. I am using CygWin, and the website I just went to: http://www.cygwin.com/faq/faq_3.html stated that: " The short answer is that Cygwin is not Unicode-aware" Not sure if this is going to apply to python in general, but I suspect it will. Ugh, I dislike Windows a lot, but it pays the bills

Re: [Numpy-discussion] Greek Letters

2007-02-20 Thread Mark Janikas
Thanks Robert but alas, I get. >>> import sys >>> sys.stdout.encoding 'cp437' >>> print u'\u03a7\u00b2'.encode(sys.stdout.encoding) Traceback (most recent call last): File "", line 1, in ? File "C:\Python24\lib\encodings\cp437.py", line 18, in encode return codecs.charmap_encode(in

Re: [Numpy-discussion] Greek Letters

2007-02-20 Thread Mark Janikas
Thanks for all the info. That website with all the codes is great. MJ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zachary Pincus Sent: Tuesday, February 20, 2007 4:18 PM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] Greek Lette

Re: [Numpy-discussion] Greek Letters

2007-02-20 Thread Robert Kern
Mark Janikas wrote: > Hello all, > > I was wondering how I could print the chi-squared symbol in python. I > have been looking at the Unicode docs, but I figured I would ask for > assistance here while I delve into it. Thanks for any help in advance. Print it where? To the terminal (which one?)

Re: [Numpy-discussion] Greek Letters

2007-02-20 Thread Zachary Pincus
I have found that the python 'unicode name' escape sequence, combined with the canonical list of unicode names ( http://unicode.org/Public/ UNIDATA/NamesList.txt ), is a good way of getting the symbols you want and still keeping the python code legible. From the above list, we see that the s

[Numpy-discussion] Greek Letters

2007-02-20 Thread Mark Janikas
Hello all, I was wondering how I could print the chi-squared symbol in python. I have been looking at the Unicode docs, but I figured I would ask for assistance here while I delve into it. Thanks for any help in advance. Mark Janikas Product Engineer ESRI, Geoprocessing 380 New York St

[Numpy-discussion] Distributing prebuilt numpy and other extensions

2007-02-20 Thread Zachary Pincus
Hello folks, I've developed some command-line tools for biologists using python/ numpy and some custom C and Fortran extensions, and I'm trying to figure out how to easily distribute them... For people using linux, I figure a source distribution is no problem at all. (Right?) On the other ha