Convert from numbers to letters

rh0dium sklass at pointcircle.com
Thu May 19 14:52:30 EDT 2005


Call me crazy..  But it doesn't work..

for i, digraph in enumerate(sorted([''.join((x, y)) for x in alpha for
y in [''] + [z for z in alpha]], key=len)):
   globals()[digraph]=i+1

How do you implement this sucker??

Thanks




More information about the Python-list mailing list