[Spambayes] Practical applications

Gary Robinson grobinson@transpose.com
Sun, 22 Sep 2002 17:32:40 -0400


>>>> Guido van Rossum wrote
>>> 1) I notice that Python is an "Actice Scripting" language? Does that a mean
>>> that a Python script can interact with Outlook to do things like add
>>> a "Spam!" button, etc.?
>> 
>> Python can control any Windows application that supports a COM
>> interface.  You have to get the win32all set of additions (there's a
>> pointer to it on the download pages).  I've never done this, I suppose
>> you'd need docs for Outlook.
> 
> I think he was asking for something the other way - a way to add
> a button/command to Outbreak which runs a python script. I don't know if
> that's possible - someone like MarkH may know.
> 


Right... for instance, say a new email comes into Outlook. It should be
checked for spammness before going into the user's In box. I'm pretty sure
this could be done in Visual Basic for Applications.

And I read somewhere that anything a VBA script can do, an  Active Scripting
language can do. And I read somewhere that Python is an Active Scripting
language.

But... can it actually do it?

Gary