help please
Steven Bethard
steven.bethard at gmail.com
Sun Feb 13 16:54:35 EST 2005
gargonx wrote:
> Well that seems to work like a champion, but my prob then would be; how
> do i get the double character values of ext to turn back to the single
> character keys. The reversed (decode if you will).
It's unclear what you want to do here. If you have say:
ext = dict(aa='A', ab='B', bb='C')
then how should 'aaabb' be decoded? Some possibilities:
'ABb'
'AaC'
'aAC'
Steve
More information about the Python-list
mailing list