Custom alphabetical sort

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Dec 24 19:07:34 CET 2012


On 24/12/2012 17:40, Roy Smith wrote:
> In article <46db479a-d16f-4f64-aaf2-76de654185da at googlegroups.com>,
>   Pander Musubi <pander.musubi at gmail.com> wrote:
>
>>> I'm assuming that doesn't correspond to some standard locale's collating
>>> order, so we really do need to roll our own encoding (and that you have
>>> a good reason for wanting to do this).
>>
>> It is for creating a Dutch dictionary.
>
> Wait a minute.  You're telling me that Python, of all languages, doesn't
> have a built-in way to sort Dutch words???
>

There's a built-in called secret that's only available to those who are 
Dutch and members of the PSU.

A slight aside, I understand that the BDFL is currently on holiday.  For 
those who want a revolution now is as good a time as any :)

-- 
Cheers.

Mark Lawrence.




More information about the Python-list mailing list