Deutsch English Français Italiano |
<vasjba$6l7d$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: vallor <vallor@cultnix.org> Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Fri, 30 Aug 2024 14:01:14 -0000 (UTC) Organization: A noiseless patient Spider Lines: 30 Message-ID: <vasjba$6l7d$2@dont-email.me> References: <uu54la$3su5b$6@dont-email.me> <va51ok$3tqr9$1@dont-email.me> <va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me> <va6rpa$c6bg$1@dont-email.me> <va6se9$cb8e$1@dont-email.me> <20240826083330.00004760@gmail.com> <vaises$2k7o6$2@dont-email.me> <20240826155113.000005ba@gmail.com> <wwvo75eicla.fsf@LkoBDZeT.terraraq.uk> <vak9k9$2ujrs$1@dont-email.me> <valgpu$34s18$1@dont-email.me> <87y14hd4bk.fsf@nosuchdomain.example.com> <valnei$35rt8$2@dont-email.me> <87ikvlcs7i.fsf@nosuchdomain.example.com> <vamclm$3c4ke$1@dont-email.me> <87ttf4bdcx.fsf@nosuchdomain.example.com> <vaoaak$3l470$3@dont-email.me> <875xrkb2iq.fsf@nosuchdomain.example.com> <vapnu2$3v4l8$1@dont-email.me> <vaquop$5ioe$2@dont-email.me> <87zfou9926.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 30 Aug 2024 16:01:14 +0200 (CEST) Injection-Info: dont-email.me; posting-host="9be24c4b805c2be62372b2d3b9cd182b"; logging-data="218349"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+V9VjlmECTFxhoBhDFDejy" User-Agent: Pan/0.160 (Toresk; 7830f38; Linux-6.11.0-rc5) Cancel-Lock: sha1:LcxrSwkuTcbPP7Sncur7UDcRDSE= X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ Bytes: 2920 On Thu, 29 Aug 2024 16:57:21 -0700, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote in <87zfou9926.fsf@nosuchdomain.example.com>: > Lawrence D'Oliveiro <ldo@nz.invalid> writes: > [...] >> Think about why you bother to indent code in languages where the >> compiler ignores such indentation anyway: it means you are expressing >> the structure of code in two different ways, one via statement >> brackets, and the other via indentation. This redundancy aids in >> understanding that the code does what you think it does. >> >> Python gets rid of this redundancy, by having the compiler take notice >> of the whitespace and removing the statement bracketing symbols. So I >> put it back, by adding statement bracketing symbols that the compiler >> ignores. > > You might find Bython useful. > > https://github.com/mathialo/bython > > (I don't, but you might.) Thank you for the pointer. (Had been wondering if there was something like "ratfor for python", and here it is. :) ) -- -v