Posted By

eristoddle on 08/17/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

guillermoj88gmailcom


Python Remove Non-Ascii Characters


 / Published in: Python
 

  1. strcleaned = ''.join([x for x in strtoclean if ord(x) < 128])

Report this snippet  

You need to login to post a comment.