"Malcolm Greene" <[EMAIL PROTECTED]> wrote > What is the Pythonic way to remove specific chars from a string? The > .translate( table[, deletechars]) method seems the most 'politically > correct' and also the most complicated.
Assuming you have lots of different characters and not just one to remove, then: either translate() or > 3. Use a regular expression HTH, Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor