stripping unwanted chars from string

Edward Elliott nobody at 127.0.0.1
Thu May 4 02:30:10 EDT 2006


Bryan wrote:
>  >>> keepchars = set(string.letters + string.digits + '-.')

Now that looks a lot better.  Just don't forget the underscore. :)




More information about the Python-list mailing list