This seems to work to get out the alpha-numeric characters. #!/usr/bin/env python # -*- coding: iso-8859-15 -*-
import re
pat = re.compile('\w')
lst = []
chars = '@*1&^$&[EMAIL PROTECTED](&@2$*(&[EMAIL PROTECTED](*&3*(&c^&%4&^%'
lst = pat.findall(chars)
for x in lst:
print x,
--
Thanks
Eric Lake
signature.asc
Description: Digital signature
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
