Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #428: Firmware update in the coffee machine


comp / comp.lang.python / Re: Formatted Output and Argument Parsing (was: Re: Flubbed it in the second interation through the string: range error... HOW?)

SubjectAuthor
o Re: Formatted Output and Argument Parsing (was: Re: Flubbed it in theChris Angelico

1
Subject: Re: Formatted Output and Argument Parsing (was: Re: Flubbed it in the second interation through the string: range error... HOW?)
From: Chris Angelico
Newsgroups: comp.lang.python
Date: Wed, 29 May 2024 13:58 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: rosuav@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: Formatted Output and Argument Parsing (was: Re: Flubbed it in the
second interation through the string: range error... HOW?)
Date: Wed, 29 May 2024 23:58:09 +1000
Lines: 13
Message-ID: <mailman.61.1716991102.2909.python-list@python.org>
References: <28615cd5-5b77-44bb-ba3a-5ce6cad7c943@tompassin.net>
<ZlbCr8Bv1sV6fjzN@cskk.homeip.net>
<CAPTjJmrnw51BDHrY25hcSzH6-R+pwSSyHf6yOrDa=4iFQm4EPg@mail.gmail.com>
<ZlcoDPpQG4gDVANi@anomaly>
<CAPTjJmoDai_c0kMdMdh=YYYPF-dCJPk11DgMnqcsi+i16E_hPg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de fCC0yF49KgxdnlvQsYJTFw17CIFpE28vyRBDeeaqgQ2Q==
Cancel-Lock: sha1:WUBg7JwAAXO1MswpgCav4taQAyc= sha256:x78Z7sg53KtPmeiVA8mVSNdg4NYfVFjTGQIqcsDI3ag=
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=UKgaYeg5;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.038
X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; '(for': 0.05; 'dan': 0.09;
'2024': 0.16; 'chrisa': 0.16; 'from:addr:rosuav': 0.16;
'from:name:chris angelico': 0.16; 'received:mail-
lj1-x22a.google.com': 0.16; 'subject:?)': 0.16; 'subject:second':
0.16; 'subject:string': 0.16; 'wrote:': 0.16; 'python': 0.16;
'to:addr:python-list': 0.20; 'depends': 0.25; 'it,': 0.29;
'python-list': 0.32; 'message-id:@mail.gmail.com': 0.32; 'but':
0.32; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'developed': 0.35; 'from:addr:gmail.com': 0.35; 'using': 0.37;
"it's": 0.37; 'wed,': 0.39; 'still': 0.40; 'likely': 0.61; 'skip:h
10': 0.61; 'definition': 0.64; 'your': 0.64; '2003': 0.69;
'subject:through': 0.69; 'further,': 0.84; 'subject: \n ': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1716991100; x=1717595900; darn=python.org;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=UPAufvZSsWr9R+hNmM/sBYYf3Qp6fth1Hp5KieieDS0=;
b=UKgaYeg5r3uG2UhSbPqLg4vnH53tM52S0OkXWl72f+0wrPi2DP8gvdyqURCEYhdmz6
vdv6SnEqmTVDKoIntZ1gXWnlpVV+uW/0/QnKFAj3I+TFjd734G/hJbL7g8tns8GU8RS9
06hHVh7oCz5CXrdAbeGpx+8qXzgT6fhzs4pxS0QO/DEMBcnij9lSiDFULm0MgdKwLX45
Sfhzl53SPgRrKl3S7btAZeICw9CdPZwGUUDdHPt10nyEwUe4OsQRu+qQ1THd8I/H72wk
aeKChUXyrYvOVUuQ7fwjSJ1tT1JnCX5m8UdKRdrPl40OGyOkxvk6hyyZ8UG0daj/Nv4z
ZZuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1716991100; x=1717595900;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=UPAufvZSsWr9R+hNmM/sBYYf3Qp6fth1Hp5KieieDS0=;
b=mUd0U3OAVzy6k3fRwX7UfpVmDAzF65XHOR+77l8l6ZLyzrMTZNt2WHdLaIubFoaJ52
gWpvGboce+Ty//L/L/SrFYTt9i1O1Q93wI4AYH9DM6IHBQ/Jg5cwO2BneHmews48kxd9
UCf76LGbQNCxDUD3KngTfIfOhTCoWLPzxhE3eu1IgkOMwIrMJJ9dOKBVFgPZcm5ef2yF
A9TpAraiHUoirU++cQkJQ9R8C4L8T3hWcT0CntadbyaNKgK/e+iBgXvPRg77qhOh1ho9
BxwsZULc7zf/sFPrIejxz56WGrWfjzFrpi0uxI/UG64oR4ShigGquROnxQ5W+E5pBjSu
QX8g==
X-Gm-Message-State: AOJu0Yzjjxi86j3ofEXYIkXXfyxGi3vCaJvBjeqFeVQog8obcdCzn061
DDAREiYW1WDGzzqzllaa9hcdQLbfULL3L8WnVha7OS0qqBUq5NA/GF+5oQFIdZruYRYBpH/ShK+
oOeIhZgMkD4keblBrM9NHI4j9ArO5nbVh
X-Google-Smtp-Source: AGHT+IFWG+9+fnIpRrY6w3x0Ew8kH+44JGCqiNB1IuWrNgHClCP1efWgw8VIRCjTF8gO81Im7uleo1nOEWkPRuVqiao=
X-Received: by 2002:a2e:9e55:0:b0:2e9:6265:9926 with SMTP id
38308e7fff4ca-2e962664136mr72510721fa.49.1716991100427; Wed, 29 May 2024
06:58:20 -0700 (PDT)
In-Reply-To: <ZlcoDPpQG4gDVANi@anomaly>
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: <CAPTjJmoDai_c0kMdMdh=YYYPF-dCJPk11DgMnqcsi+i16E_hPg@mail.gmail.com>
X-Mailman-Original-References: <28615cd5-5b77-44bb-ba3a-5ce6cad7c943@tompassin.net>
<ZlbCr8Bv1sV6fjzN@cskk.homeip.net>
<CAPTjJmrnw51BDHrY25hcSzH6-R+pwSSyHf6yOrDa=4iFQm4EPg@mail.gmail.com>
<ZlcoDPpQG4gDVANi@anomaly>
View all headers

On Wed, 29 May 2024 at 23:06, Dan Sommers via Python-list
<python-list@python.org> wrote:
> (For the history-impaired, getopt existed long before Python and will
> likely exist long after it, but getopt's "replacement" optparse lasted
> only from 2003 until 2011.)

Depends on your definition of "lasted". It's not getting developed
further, but it's still there. If you started using it, you're welcome
to keep going.

https://docs.python.org/3/library/optparse.html

ChrisA

1

rocksolid light 0.9.8
clearnet tor