🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.python
Article #115

Re: The Complexity Of Python

#115
From: Lawrence D’Oliveiro
Date: Sun, 01 Nov 2026 00:23
30 lines
2074 bytes
On Fri, 30 Oct 2026 04:25:56 -0000 (UTC), I wrote:

> I decided to do a quick count of the length, by using WeasyPrint to
> convert the HTML pages to PDF files, and totalling up the number of
> PDF pages generated.

I have rerun my tests, this time adding the following simple
stylesheet to WeasyPrint:

    body
      {
        font-size : 10pt !important;
      }

> For the core language (files
> /usr/share/doc/python3.14/html/reference/*.html), I counted 271 pages
> total.

With the reduced font size, I now get a count of 204.

> For the builtins (files
> /usr/share/doc/python3.14/html/builtins/*.html), I counted 218 pages
> total.

For this, the page count is now 168.

> These counts might be slight overestimates. I saw a couple of extra
> pages with no body text in one or two PDF files ...

The extra-pages issue still remains, but is probably minor.
Technical Details
Message-ID: <11c60pv$1isu7$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11c168k$3uqfm$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D’Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.python
Subject: Re: The Complexity Of Python
Date: Sun, 1 Nov 2026 00:23:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <11c60pv$1isu7$1@dont-email.me>
References: <11c168k$3uqfm$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 01 Nov 2026 00:23:28 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1668039"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18edIc8M7P6+SXyDyJ/VXQD"; posting-host="e3160788d8ee1ce0c3252f1aed4b293c"
User-Agent: Pan/0.165 (Kostiantynivka)
Cancel-Lock: sha1:f6ahA57bgR9ApXHOgRcA4Y/uWRw= sha256:EFgFIfodBCC8P+cKETQhcSpzhXI30FMsYfU6ik9+WOY=
	sha1:96AlIiw0vUU9MNXj0czAV++Hqc8= sha256:e1adVONgKPXT3sQsvxOr0Kjx9UGAa68+ugAcM0wQp4U=