From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7944 invoked from network); 3 Aug 2023 23:47:14 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 3 Aug 2023 23:47:14 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id D6445417B1; Fri, 4 Aug 2023 09:47:10 +1000 (AEST) Received: from mcvoy.com (mcvoy.com [192.169.23.250]) by minnie.tuhs.org (Postfix) with ESMTPS id 35472417AC for ; Fri, 4 Aug 2023 09:47:03 +1000 (AEST) Received: by mcvoy.com (Postfix, from userid 3546) id 0CF6F35E923; Thu, 3 Aug 2023 16:47:02 -0700 (PDT) Date: Thu, 3 Aug 2023 16:47:02 -0700 From: Larry McVoy To: Phil Budne Message-ID: <20230803234702.GC11023@mcvoy.com> References: <8246.1690761540@cesium.clock.org> <29602.1690887524@cesium.clock.org> <20230803005106.GA12652@mcvoy.com> <202308031657.373GvVvW008640@ultimate.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202308031657.373GvVvW008640@ultimate.com> User-Agent: Mutt/1.5.24 (2015-08-30) Message-ID-Hash: MISK6GJ75PSGEWF4KHIRQMEOKILMNUKT X-Message-ID-Hash: MISK6GJ75PSGEWF4KHIRQMEOKILMNUKT X-MailFrom: lm@mcvoy.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: [TULSA] Re: python List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, Aug 03, 2023 at 12:57:31PM -0400, Phil Budne wrote: > On the subject of "no printf", there is not one, not two, but THREE > ways to format strings, easily compounded with print: > > print("%s %s" % ("hello", "world")) > print("{1} {two}".format("hello", two="world")) > print(f"{greeting} {populace}") > > I'm pretty sure the last method (which initially made me vomit, due to All of those make me vomit. Pretty much every sane language has printf.