[Spambayes] Easy task for Outlook
Mark Hammond
mhammond@skippinet.com.au
Sat Nov 30 00:49:15 2002
Just incase someone is bored, and would like to contribute to the Outlook
plugin, but don't think they can. Well, do I have the job for you <wink>.
The plugin could do with some kind of "log file" strategy. Currently all
"print" statements go to the win32traceutil package. However, once we
package this up as a stand-alone DLL, this wont fly.
Therefore, what I would like is code that does something reasonable with a
log file, and redirects sys.stdout to this file. "Something reasonable"
means somehow deleting old log messages. I dont care if we keep a different
log per day automatically deleting old ones, or any other strategy that is
both reasonable and not overkill.
A new module would be perfect - then addin.py can import and use it when it
detects it is frozen.
No big deal, and not a huge job, but certainly should be fairly simple for
anyone with reasonable Python skills, but no Windows or Outlook skills.
Mark.
More information about the Spambayes
mailing list