[Spambayes] RE: export training?

Bobby Wilkins hwilkins at harrahs.com
Wed Jul 9 01:00:52 EDT 2003


> > OK, more strangeness: the error is this:
> > 
> > Attempted to set [General] data_directory with invalid value
> > \\bwtestxp\c$\data\Mail\SpamBayes (<type 'str'>)

> Ha!  It's got nothing to do with the fact that it's not local,
> then, it's the '$' in the pathname.  I'll correct this, so that
> pathnames can have $'s in them.  If you want to do this, you
> need to change the definition of PATH in
> spambayes/OptionsClass.py to:
>     PATH = r"[\w\$\.\-~:\\/\*]+"

This I can do.

Ignorant/dumb question: how do I get that compiled into the "binary"
version?  

Or will it just be easier to switch to the non-binary version?

Realize that this is my >first< foray into python at all...

And thanks very much for the help!




More information about the Spambayes mailing list