sort order for strings of digits

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Oct 31 17:33:09 EDT 2012


On 31/10/2012 18:17, Dennis Lee Bieber wrote:
>
> 	Why -- I doubt Python 3.x .sort() and sorted() have removed the
> optional key and cmp keywords.
>

Nope.  I'm busy porting my own code from 2.7 to 3.3 and cmp seems to be 
very dead.

This doesn't help either.

c:\Users\Mark\Cash\Python>2to3.py
Traceback (most recent call last):
   File "C:\Python33\Tools\Scripts\2to3.py", line 3, in <module>
     from lib2to3.main import main
ImportError: No module named main

-- 
Cheers.

Mark Lawrence.




More information about the Python-list mailing list