[Spambayes] Unwanted stock solicitations

skip at pobox.com skip at pobox.com
Mon Oct 23 19:42:54 CEST 2006


    >> ocr = os.popen("ocrad -s %s -c %s -x %s -f %s 2>/dev/null" %

    Vibe> What is the meaning of the last '2' in the os.popen()-call?

It's a Unix-ism that will probably not work on Windows.  It sends error
messages to the bit bucket.

    Vibe> If I send that to ocrad after the input-file I get the ocr
    Vibe> followed by 'Cannot open 2'.

Yeah, I'll have to fix that.  Recall that I don't have Windows available.  I
have to rely on folks like you to give me feedback.  Eventually I hope one
of the other SpamBayes developers will find some free time to work on it.  I
am going to post a solicitation to comp.lang.python looking for another
volunteer though as well.

Skip


More information about the SpamBayes mailing list