Gabriel Genellina said:

That's very short-lived; cmp is gone in 3.0.1 (should not have existed in 3.0 
in the first place).
Try with:
choices.sort(key=str.lower)


Gabriel,

That's worked fine - thank you. I think I now have a version of easygui.py that works with Python 3, probably needs a bit more testing.

Regards,
Peter
--
*Peter Anderson*
There is nothing more difficult to take in hand, more perilous to conduct, or more uncertain in its success, than to take the lead in the introduction of a new order of things—Niccolo Machiavelli, /The Prince/, ch. 6
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to