Remove no-printable characters in string

Pascal pascal.parent at free.fr
Wed Dec 3 12:17:54 CET 2003


Hello,

What's the best way to delete or replace no-printable characters in a string.
i.e.: "\x08toto\x00titi" -> "tototiti" or " toto titi"




More information about the Python-list mailing list