Help with character encodings

2008-05-20 Thread A_H
Help!

I've scraped a PDF file for text and all the minus signs come back as
u'\xad'.

Is there any easy way I can change them all to plain old ASCII '-' ???

str.replace complained about a missing codec.



Hints?




--
http://mail.python.org/mailman/listinfo/python-list


PyExcerlerator details

2008-04-29 Thread A_H
Hi, I'm using PyExcelerator, and it's great, but I can't figure out a
few things:


(1)  I set the cell style to '0.00%' but the style does not work.

(2)  I want to place a border around the cells( x1, y1, x2, y2 ) but I
can't find any example of doing that.
Well I do see ONE example, but it erases the cells if I do it after,
or when I write to the cells that erases the outline.
Surely I don't have to tediously set each cells border?

Help?
--
http://mail.python.org/mailman/listinfo/python-list


matplotlib psd

2008-04-16 Thread A_H
Kudos to matplotlib in python, it's a real slick package.

But I'd like to do several power spectrum density calls [ psd() ] and
control the color of each.

I don't see any obvious option for this.

Any hints?



-- 
http://mail.python.org/mailman/listinfo/python-list


Love matplotlib, but....

2008-04-09 Thread A_H
I love matplotlib, but I want to do a polar plot using your basic
compass type plot, i.e. zero degrees at the top, degrees going
clockwise.

I don't see a real easy way to do this.

Any examples?

Thanks!

-- 
http://mail.python.org/mailman/listinfo/python-list


noobie question regarding installing a package

2008-02-13 Thread A_H
HI, I'm trying to install NumPy and the instructions say:

python setup.py install


When I try that it says, unhelpfully:


"This is the wrong setup.py"



So what does this mean, and what is the right setup.py?


Thanks,



grg




-- 
http://mail.python.org/mailman/listinfo/python-list