On Mon, Jul 27, 2009 at 4:02 PM, Alan Gauld<[email protected]> wrote:

> You might want to investigate the maketrans and translate functions in the
> string module.
>
> The seem to be quite similar in intent to what you are trying to do?

No, those will only do 1-for-1 character substitutions.

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to