Edward Elliott wrote:
> Bryan wrote:
> 
>> >>> keepchars = set(string.letters + string.digits + '-.')
> 
> 
> Now that looks a lot better.  Just don't forget the underscore. :)
> 
You may also want to have a look at string.translate() and
string.maketrans()

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to