Deutsch   English   Français   Italiano  
<utiooa$2i1dd$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.linux.advocacy
Subject: Re: Why Python When There Is Perl?
Date: Fri, 22 Mar 2024 02:00:43 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <utiooa$2i1dd$2@dont-email.me>
References: <17be420c4f90bfc7$63225$1585792$802601b3@news.usenetexpress.com>
	<utd86u$1ipcj$1@solani.org>
	<17be75acfaf8f0f4$2017$3384359$802601b3@news.usenetexpress.com>
	<utfsvk$1pkkk$2@dont-email.me> <l620pbFn16lU4@mid.individual.net>
	<utgjph$21nsq$5@dont-email.me> <l646upF2m1hU5@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Mar 2024 02:00:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1d2811be6c706a5fb413e03faa778213";
	logging-data="2688429"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18l7A+hiZqr80seYpFJzvsz"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:z4LUFn8qpAwOUdDJgvzEVfydZ0k=
Bytes: 1574

On 22 Mar 2024 01:58:50 GMT, rbowman wrote:

> On Thu, 21 Mar 2024 06:23:45 -0000 (UTC), Lawrence D'Oliveiro wrote:
> 
>> You didn’t notice that Python’s sorting functions allow you to specify
>> a callback function to define the sort key?
> 
> I make no claims to being a Python expert.

OK, but reading the docs
<https://docs.python.org/3/library/functions.html#sorted> helps.