Already did it, as stated in my other post. If you are hacking around on your friend's websites it might be "a few lines", but a production script that must either succeed or tell you why not in useful terms takes hundreds of lines.
But then I doubt that people who can't think beyond their personal system hosting their friends websites really grasp the goals I am trying to meet anyway.
And no, you can't code it in Python without wrapping the python script execution in a language that handles exceptions in a useful manner. I'm not a language bigot (kindof hard these days, I work in 5 different languages daily) but if a language doesn't have the ability to do something then you must write wrappers around it.
On Fri, Oct 29, 2004 at 10:48:07AM -0400, Barry Warsaw wrote:
On Thu, 2004-10-28 at 00:03, Joe Rhett wrote:
What tools are those? A heavy web ui?
Personally, I'd write a scriptlet for bin/withlist to do it. Should be just a few lines of Python since withlist takes care of getting everything set up properly, deals with lock, etc.
config_list as someone else mentioned is a fine way to go (remember that its input only needs to contain the variables that you want to change).
The other thing to remember is that there's nothing magical about the bin scripts that come with Mailman. They serve as fine examples of how to interact with Mailman from the command line. A Python programmer should have no trouble writing custom scripts to deal with any odd situation that can't already be handled by withlist or config_list.
-Barry
-- Joe Rhett Senior Geek Meer.net