[Tutor] Eng to Leet Speek
bob gailer
bgailer at gmail.com
Tue Jul 28 00:52:12 CEST 2009
Kent Johnson wrote:
> On Mon, Jul 27, 2009 at 4:02 PM, Alan Gauld<alan.gauld at btinternet.com> 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.
Which could be applied to all the 1 character substitutions after
dealing with the multi-character ones.
--
Bob Gailer
Chapel Hill NC
919-636-4239
More information about the Tutor
mailing list