> How should I go about extracting the contents of my, rather huge,
> "default_bayes_database.db" file? I have exactly zero direct
> experience
> with Python, but I can learn.
Get the source, install Python, and use the sb_dbexpimp.py script to
convert the database to a CSV file.
python scripts\sb_dbexpimp.py --help
Will give you an explanation of how it is used. Basically you'll
want something like:
python scripts\sb_dbexpimp.py -e -f tokens.csv -d "C:\Documents and
Settings\{username}\Application Data\SpamBayes
\default_bayes_database.db"
Once it's in CSV, I presume you'll be able to get it into your SQL
database.
=Tony.Meyer
--
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.
_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html