Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro 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: References: <17be420c4f90bfc7$63225$1585792$802601b3@news.usenetexpress.com> <17be75acfaf8f0f4$2017$3384359$802601b3@news.usenetexpress.com> 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 helps.