Python 3 and easygui problem
Peter Anderson
peter.anderson at internode.on.net
Sun Feb 22 07:05:32 EST 2009
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
More information about the Python-list
mailing list