http://sourcefrog.net/projects/natsort/ Has anyone implimented this in Python? John -
see sequence.sort(). I allows you to specify your own sorting method. -aj --On Donnerstag, 22. Mai 2003 18:42 Uhr -0400 John Kipling Lewis <jklewis@umich.edu> wrote:
http://sourcefrog.net/projects/natsort/
Has anyone implimented this in Python?
John -
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
http://sourcefrog.net/projects/natsort/
Has anyone implimented this in Python?
You bet. Take a look at the Python cookbook at ASPN. One (or possibly more -- they like to enhance each other) of the recipies does natural string sorting. I've used it and it works very well. If for some reason it's hard to locate, I can dig up the number later. --jcc
participants (3)
-
Andreas Jung -
J Cameron Cooper -
John Kipling Lewis