Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Real programs don't eat cache.


devel / comp.lang.python / Re: Passing info to function used in re.sub

SubjectAuthor
o Re: Passing info to function used in re.subJan Erik Moström

1
Re: Passing info to function used in re.sub

<mailman.281.1693901183.23016.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=28377&group=comp.lang.python#28377

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: lists@mostrom.pp.se (Jan Erik Moström)
Newsgroups: comp.lang.python
Subject: Re: Passing info to function used in re.sub
Date: Tue, 05 Sep 2023 10:05:11 +0200
Lines: 9
Message-ID: <mailman.281.1693901183.23016.python-list@python.org>
References: <6943DF5C-BBD7-40FB-872E-87F111D52059@mostrom.pp.se>
<1706170F-4928-4B7B-B946-39A33D12521C@mostrom.pp.se>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de ASaVDw58s+qx4h6yhpx2oQGMoZDrSVx1p7PktH0MOI2Q==
Cancel-Lock: sha1:XCQ+UG5oruIHslFh3ULXLkjhXnY= sha256:x7Mk2NZg+4p6el+D6Tkc1AHz+tdcnE07+Q2yVy3WaVM=
Return-Path: <lists@mostrom.pp.se>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.078
X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'suggestion,': 0.09;
'subject:used': 0.16; 'wrote:': 0.16; 'python': 0.16; 'to:addr
:python-list': 0.20; 'written': 0.22; 'code': 0.23; 'python-list':
0.32; 'realize': 0.32; 'sep': 0.32; "i'm": 0.33;
'received:192.168.0': 0.33; 'header:In-Reply-To:1': 0.34;
'received:192.168': 0.37; 'way': 0.38; 'thanks': 0.38; 'should':
0.40; 'me.': 0.62; 'from:charset:utf-8': 0.64; 'received:195':
0.64
X-Halon-ID: f012d3c3-4bc2-11ee-b7d6-cf458ee68324
Authorized-sender: lists@mostrom.pp.se
X-Mailer: MailMate (1.14r5937)
In-Reply-To: <6943DF5C-BBD7-40FB-872E-87F111D52059@mostrom.pp.se>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <1706170F-4928-4B7B-B946-39A33D12521C@mostrom.pp.se>
X-Mailman-Original-References: <6943DF5C-BBD7-40FB-872E-87F111D52059@mostrom.pp.se>
 by: Jan Erik Moström - Tue, 5 Sep 2023 08:05 UTC

On 3 Sep 2023, at 18:10, Jan Erik Moström via Python-list wrote:

> I'm looking for some advice for how to write this in a clean way

Thanks for all the suggestion, I realize that I haven't written Python code in a while. I should have remembered this myself !!! Thanks for reminding me.

= jem


devel / comp.lang.python / Re: Passing info to function used in re.sub

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor