he
keys 'name' or 'size'. The file 'name' s should be unique (I'm hoping)
across all the dictionaries. Can someone point me towards an efficient
solution for accomplishing the sort? (The list has 1000s of files).
Thanks in advance,
--
Larry Holish
<[EMAI
The decorate - sort - undecorate idiom is the preferred way to do this
> in Python < 2.4. Python 2.4 adds the key= parameter to sort() and
> does the DSU internally.
Karl, Kent, thanks for your prompt responses. I'm running python 2.3,
and the DSU method performs nicely.
Regards,
a simple python web
framework that works in either a plain old CGI environment, or can
easily be adapted to mod_python. This page includes a basic usage
example:
http://thraxil.org/code/cgi_app/
--
Larry Holish
<[EMAIL PROTECTED]>
___
Tutor mai