Convert from numbers to letters

Peter Otten __peter__ at web.de
Thu May 19 15:47:11 EDT 2005


Bill Mill wrote:

>> Traceback (most recent call last):
>>File "<stdin>", line 1, in ?
>> NameError: name 'sorted' is not defined
>> 
>> I think you're probably using 2.4 ??
> 
> Yes, sorted() is new in python 2.4 .You could use a very lightly
> tested pure-python partial replacement:

By the way, sorted() can be removed from your original post.

Code has no effect :-)

Peter
 




More information about the Python-list mailing list