Deutsch   English   Français   Italiano  
<lilksgF3vkeU2@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rbowman <bowman@montana.com>
Newsgroups: comp.lang.lisp,comp.lang.python
Subject: Re: name of the package (or style) that uses lots of extra lines in
 Python programming?
Date: 21 Aug 2024 07:56:00 GMT
Lines: 22
Message-ID: <lilksgF3vkeU2@mid.individual.net>
References: <va3rvp$3o8rf$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net +BTgRCvKZWReWMi0Nj8w5wN3MVy4+iogWZNpt8E/AcbJkUoKZR
Cancel-Lock: sha1:MX2LQdl4XypSLQLqHybJF+/PFYw= sha256:Pegh54oxFsKTBhooAT/vPEoPDHmfx/aHniQXYrRCy2Y=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
Bytes: 1397

On Tue, 20 Aug 2024 21:55:20 -0700, HenHanna wrote:

> What's the name of the package (or style) that uses
>                    lots of  extra lines in Python programming?
> 
> it looks like this:
> 
> main()
> {
>        int c; .......
> }
> 
>               like  Begin-End of Algol, Pascal  from 1960's and 1970's.


If it looks like that it's C not Python.

https://peps.python.org/pep-0008/#blank-lines

'black' is a formatter that will neaten up a file. 'ruff' does quite a bit 
more but also can format. If you're stingy with whitespace either will add 
extra lines.