Re: [Spambayes] Unwanted stock solicitations

Vibe Grevsen <[email protected]>
Newsgroups gmane.mail.spam.spambayes.devel
Message-ID <[email protected]>

skip-2 wrote:
> 
> 
>     Luigi> On windows you cannot use ' to quote a path you have to use ".
> 
> *sigh* "fixed" 'again'.
> 
> Thx,
> 
> S
> 

Ok, nice work. Your idea with strip and log2 is good I think.

May I ask why you did not use popen3 for the call?  Is there some reason to
avoid it?

                ocr_cmd = ur'ocrad -s %s -c %s "%s"' % (scale, charset,
pnmfile)

                # os.popen3() returns [stdin, stdout, stderr]
                ocr = os.popen3( ocr_cmd )[1]

You're right 9x is no big market, but if it is as easy as this I don't see a
reason not to support it.
Also unicode is really a good idea for localized windows systems.
-- 
View this message in context: http://www.nabble.com/Re%3A--Spambayes--Unwanted-stock-solicitations-tf2581077.html#a7204201
Sent from the Python - spambayes-dev mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.