Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Tue, 27 Aug 2024 02:50:41 -0000 (UTC) Organization: A noiseless patient Spider Lines: 37 Message-ID: References: <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <87il0lldf8.fsf@tudado.org> <20240815182717.189@kylheku.com> <20240826083330.00004760@gmail.com> <20240826155113.000005ba@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 27 Aug 2024 04:50:41 +0200 (CEST) Injection-Info: dont-email.me; posting-host="0a410b51be7b0d25514a712e66466478"; logging-data="2970498"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Bu+0Mz2988wXHflp+LhVe" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:bb41po5h5pxxuilj5QKM57ztdes= Bytes: 2420 On Mon, 26 Aug 2024 15:51:13 -0700, John Ames wrote: > if condition: > foo() > > bar() > > baz() > > if one needs to re-arrange the order of operations, for reasons, and one > is incautious about selecting and shuffling lines in one's editor, such > that one ends up with this: > > if condition: > bar() > > foo() > > baz() Try: if condition: foo() bar() #end if baz() versus if condition: bar() foo() #end if baz() Does that make things clearer?