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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to