Thanks! My Python is sadly lacking, I'm afraid. I was able to use the method below to search for a string in the address and remove it. Reckon it's worth adding to the FAQ?
Cheers Adam. -- Adam Steer Web publishing officer Australian Library and Information Association [EMAIL PROTECTED] http://alia.org.au +61 2 6215 8234 >>> Jim Tittsler <[EMAIL PROTECTED]> - 25/8/04 2:52 PM >>> On Aug 25, 2004, at 13:22, Adam Steer wrote: > tried that already, with abysmal failure. I couldn't generate a regular > expression that would work with 'withlist' either - some hand-editing > of > the condig.db revealed that the address was malformed very badly - $ bin/withlist -l mylist >>> deletions = [] >>> for member in m.members: ... if member.find('{') >= 0: ... deletions.append(member) ... >>> print deletions >>> for deletion in deletions: ... del(m.members[deletion]) ... >>> m.Save() You could also import the re module if you really need regular expressions to isolate the address(es). -- Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6 Python Starship http://Starship.Python.net/ Ringo MUG Tokyo http://www.ringo.net/rss.html ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
