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. _______________________________________________ spambayes-dev mailing list spambayes-dev@python.org http://mail.python.org/mailman/listinfo/spambayes-dev