[Spambayes] Using spamcounts.py

Erik Brown kirebrow at yahoo.com
Sat Oct 1 17:52:29 CEST 2005


Better question.  How does one currently export their db into a cvs format
as to sort in Excel?

Thanks!

Erik Brown

-----Original Message-----
From: spambayes-bounces at python.org [mailto:spambayes-bounces at python.org] On
Behalf Of Erik Brown
Sent: Saturday, October 01, 2005 5:04 AM
To: 'Tony Meyer'
Cc: spambayes at python.org
Subject: [Spambayes] Using spamcounts.py

Tony,

I ran across this message on the forums a few years back:
http://mail.python.org/pipermail/spambayes/2003-December/010005.html
and I want to try the same thing to analyze all of my tokens.

For some reason, when I use spamcounts.py -r '.*' to export to CVS I get an
error message below. (I'm running the outlook addin from source.)  How do I
specify a path?

    exec codeObject in __main__.__dict__
  File "F:\!Programs\SpamBayes From Source\spambayes\contrib\spamcounts.py",
line 27, in ?
    from spambayes.Options import options, get_pathname_option
ImportError: No module named spambayes.Options
>>>

Erik Brown

_______________________________________________
SpamBayes at python.org
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html



More information about the SpamBayes mailing list