Malcolm Greene 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.

Most 'correct' and also by far the fastest. This recipe makes it a bit 
easier to use:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303342

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to