/ Published in: Python
Expand |
Embed | Plain Text
strcleaned = ''.join([x for x in strtoclean if ord(x) < 128])
You need to login to post a comment.
eristoddle on 08/17/11
1 person have marked this snippet as a favorite
strcleaned = ''.join([x for x in strtoclean if ord(x) < 128])
You need to login to post a comment.