Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You plan things that you do not even attempt because of your extreme caution.


comp / comp.os.linux.advocacy / Re: Python meanderings

SubjectAuthor
* Python meanderingsChris Ahlstrom
+- Re: Python meanderingsrbowman
+- Re: Python meanderingsComputer Nerd Kev
`* Re: Python meanderingsFarley Flud
 +- Re: Python meanderingsvallor
 +* Re: Python meanderings186282@ud0s4.net
 |`* Re: Python meanderingsrbowman
 | +* Re: Python meanderingsFarley Flud
 | |+* Re: Python meanderingsThe Natural Philosopher
 | ||`- Re: Python meanderingsDFS
 | |+- Re: Python meanderingsNick Charles
 | |`* Re: Python meanderings186282@ud0s4.net
 | | `- Re: Python meanderingsLawrence D'Oliveiro
 | `* Re: Python meanderings186282@ud0s4.net
 |  `- Re: Python meanderingsrbowman
 `* Re: Python meanderingsDFS
  `* Re: Python meanderingsNick Charles
   `* Re: Python meanderingsDFS
    `- Re: Python meanderingsNick Charles

1
Subject: Python meanderings
From: Chris Ahlstrom
Newsgroups: comp.os.linux.advocacy, comp.os.linux.misc
Organization: None
Date: Mon, 13 Jan 2025 16:27 UTC
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
Subject: Python meanderings
Date: Mon, 13 Jan 2025 11:27:30 -0500
Organization: None
Lines: 37
Message-ID: <vm3etj$1rlkk$2@dont-email.me>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Mon, 13 Jan 2025 17:27:32 +0100 (CET)
Injection-Info: dont-email.me; posting-host="13456c24b8181a401e5059896898cdd9";
logging-data="1955476"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SGfiuNwWrlnD5SkroLDCb"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:L1MznJv68UH1T42cppJtEtXMElQ=
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
View all headers

I had a list of 120 items I wanted to construct for a configuration file. After
editing 20 of them I thought, this is nuts, it'll take me forever. So I decided
to write a simple python script. I took a look at a Python program I wrote many
years ago, but it was much more complex than I remebers, with making
directories, handling a fair number of command-line options, file-tree walking.
Too much, so I made a small script to do the job and it was pretty easy.

Now I want to run an audio/MIDI session manager. The JACK project ported the
Non Session Manager as the "New Session Manager", and includes the original
GUI. But I wanted something a little more modern.

Downloaded, built, and installed the Python app "agordejo". It does not run on
this Debian system. "This application failed to start because no Qt platform
plugin could be initialized." Haven't figured that out.

So there's another Python-based session manager, RaySession, which is part of
the Debian repo. I install that and run it, and I get a traceback about 15
levels deep. "No module named cgitb".

https://docs.python.org/3/library/cgitb.html

This module is no longer part of the Python standard library. It was
removed in Python 3.13 after being deprecated in Python 3.11. The removal
was decided in PEP 594.

A fork of the module on PyPI can now be used instead: legacy-cgi. This is a
copy of the cgi module, no longer maintained or supported by the core
Python team.

The last version of Python that provided the cgitb module was Python 3.12.

Installing legacy-cgi from the link didn't work (wants a virtual setup).
But python3-legacy-cgi in the repo works, and I can now run RaySession.

--
Q: How do you stop an elephant from charging?
A: Take away his credit cards.

Subject: Re: Python meanderings
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Mon, 13 Jan 2025 19:58 UTC
References: 1
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python meanderings
Date: 13 Jan 2025 19:58:38 GMT
Lines: 11
Message-ID: <lul9jeFkafpU1@mid.individual.net>
References: <vm3etj$1rlkk$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net EfnYonXiY3+sT/5yyfSmJgCXEL24Aqp2eREWD7RbJo1+72BsEO
Cancel-Lock: sha1:UvfJRMdBdPzXQofxbKZMI2UplDc= sha256:7M5QniPP3Urv2/6sOBIi1QbzfElFBsFgDmX+4MG18CU=
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
View all headers

On Mon, 13 Jan 2025 11:27:30 -0500, Chris Ahlstrom wrote:

> So there's another Python-based session manager, RaySession, which is
> part of the Debian repo. I install that and run it, and I get a
> traceback about 15 levels deep. "No module named cgitb".

I hit that with CherryPy after updating Python. CherryPy is an older web
framework and may not have caught up. Many of the developers are Ukrainian
and may have other things on their minds.

I use venvs so the legacy package wasn't a problem.

Subject: Re: Python meanderings
From: Computer Nerd Kev
Newsgroups: comp.os.linux.advocacy, comp.os.linux.misc
Organization: Ausics - https://newsgroups.ausics.net
Date: Mon, 13 Jan 2025 21:09 UTC
References: 1
Message-ID: <678580fa@news.ausics.net>
From: not@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Python meanderings
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
References: <vm3etj$1rlkk$2@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 14 Jan 2025 07:09:14 +1000
Organization: Ausics - https://newsgroups.ausics.net
Lines: 39
X-Complaints: abuse@ausics.net
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!news.bbs.nz!news.ausics.net!not-for-mail
View all headers

In comp.os.linux.misc Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
> Downloaded, built, and installed the Python app "agordejo". It does not run on
> this Debian system. "This application failed to start because no Qt platform
> plugin could be initialized." Haven't figured that out.
>
> So there's another Python-based session manager, RaySession, which is part of
> the Debian repo. I install that and run it, and I get a traceback about 15
> levels deep. "No module named cgitb".
>
> https://docs.python.org/3/library/cgitb.html
>
> This module is no longer part of the Python standard library. It was
> removed in Python 3.13 after being deprecated in Python 3.11. The removal
> was decided in PEP 594.
>
> A fork of the module on PyPI can now be used instead: legacy-cgi. This is a
> copy of the cgi module, no longer maintained or supported by the core
> Python team.
>
> The last version of Python that provided the cgitb module was Python 3.12.
>
> Installing legacy-cgi from the link didn't work (wants a virtual setup).
> But python3-legacy-cgi in the repo works, and I can now run RaySession.

If I'm looking for a program and find a Python script that does
exactly what I want, I keep looking. Too much time wasted trying to
make them run for me, or wasted later when they break compatibility
in a newer Python release.

But I have assumed that Python scripts with Debian (stable)
packages are safe because it's someone else's problem to deal with
making them run with the Python that's pacakged there. But you say
that RaySession came from "the Debian repo" so I guess that
package's maintainer couldn't even get it right. Maybe I should be
even more strict with exterminating these pesky snakes?

--
__ __
#_ < |\| |< _#

Subject: Re: Python meanderings
From: Farley Flud
Newsgroups: comp.os.linux.advocacy, comp.os.linux.misc
Organization: UsenetExpress - www.usenetexpress.com
Date: Mon, 13 Jan 2025 22:03 UTC
References: 1
From: ff@linux.rocks (Farley Flud)
Subject: Re: Python meanderings
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
References: <vm3etj$1rlkk$2@dont-email.me>
Mime-Version: 1.0
Message-Id: <pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 26
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Mon, 13 Jan 2025 22:03:04 +0000
Nntp-Posting-Date: Mon, 13 Jan 2025 22:03:04 +0000
X-Received-Bytes: 1107
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
View all headers

On Mon, 13 Jan 2025 11:27:30 -0500, Chris Ahlstrom wrote:

>
> Downloaded, built, and installed the Python app "agordejo". It does not run on
> this Debian system. "This application failed to start because no Qt platform
> plugin could be initialized." Haven't figured that out.
>

You are a brave person indeed.

Whenever I encounter a project that requires Python I run away
like mad.

It could be that any developer who chooses Python is totally
incompetent.

It could be something else.

But whatever, it is no Python for me ever.

--
Systemd: solving all the problems that you never knew you had.

Subject: Re: Python meanderings
From: vallor
Newsgroups: comp.os.linux.advocacy, comp.os.linux.misc
Date: Mon, 13 Jan 2025 23:53 UTC
References: 1 2
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
Subject: Re: Python meanderings
Date: 13 Jan 2025 23:53:18 GMT
Lines: 31
Message-ID: <lulnbeFk2qvU3@mid.individual.net>
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 21ZoZkuf/5pT30LYLZwJuwfHGENx6uWjT986KXulv2D0VBCUbf
Cancel-Lock: sha1:2VzlbGIfKHc7pD+a/belvudAv/c= sha256:FNeX0D+nR9ojJVh2YEYCzcnhKBOTHgcltDnJkUdgcj8=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.161 (Hmm2; c45f6052; Linux-6.13.0-rc7)
View all headers

On Mon, 13 Jan 2025 22:03:04 +0000, Farley Flud <ff@linux.rocks> wrote in
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>:

> On Mon, 13 Jan 2025 11:27:30 -0500, Chris Ahlstrom wrote:
>
>
>> Downloaded, built, and installed the Python app "agordejo". It does not
>> run on this Debian system. "This application failed to start because no
>> Qt platform plugin could be initialized." Haven't figured that out.
>>
>>
> You are a brave person indeed.
>
> Whenever I encounter a project that requires Python I run away like mad.
>
> It could be that any developer who chooses Python is totally
> incompetent.
>
> It could be something else.
>
> But whatever, it is no Python for me ever.

How can you tell when Feeb is wrong? Whenever
he writes.

(His distro's package manager uses Python.)

--
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
OS: Linux 6.13.0-rc7 Release: Mint 21.3 Mem: 258G
"I used to have a handle on life, then it broke."

Subject: Re: Python meanderings
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.advocacy, comp.os.linux.misc
Organization: wokiesux
Date: Tue, 14 Jan 2025 01:55 UTC
References: 1 2
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 14 Jan 2025 01:55:44 +0000
Subject: Re: Python meanderings
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Mon, 13 Jan 2025 20:55:45 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com>
Lines: 24
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-MNpYN5+P0j4eXCvBqFcOrSGGH0PGloo168aXre4+0v7Uou4pFrpSDj22khuswh1iQcUDgDu31BWEpcL!icCkO+zo2Gv2592UfL5qSFNpen9UzXrNgkSsHR3xJfeBovU2hFxUctpwijHRtYs95cT2dU+rY5+S!msEHRs7qlgb5my9O7OhM
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 1/13/25 5:03 PM, Farley Flud wrote:
> On Mon, 13 Jan 2025 11:27:30 -0500, Chris Ahlstrom wrote:
>
>>
>> Downloaded, built, and installed the Python app "agordejo". It does not run on
>> this Debian system. "This application failed to start because no Qt platform
>> plugin could be initialized." Haven't figured that out.
>>
>
> You are a brave person indeed.
>
> Whenever I encounter a project that requires Python I run away
> like mad.
>
> It could be that any developer who chooses Python is totally
> incompetent.
>
> It could be something else.
>
> But whatever, it is no Python for me ever.

Python is perfectly good, so WHERE could the
problem be .... :-)

Subject: Re: Python meanderings
From: DFS
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 14 Jan 2025 03:54 UTC
References: 1 2
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: guhnoo-basher@linux.advocaca (DFS)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python meanderings
Date: Mon, 13 Jan 2025 22:54:33 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <vm4n5m$290mt$4@dont-email.me>
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 14 Jan 2025 04:54:30 +0100 (CET)
Injection-Info: dont-email.me; posting-host="027b64cc9fe8f3dbef14361d17fc3234";
logging-data="2392797"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dJ1LvA6g9oLn9F5Lj/GRO"
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:KZI7c7JwLG9sUuqT7cCR2vnNPww=
In-Reply-To: <pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
Content-Language: en-US
View all headers

On 1/13/2025 5:03 PM, Python Larry wrote:

> no Python for me ever.

Python (via Portage) is the "heart of Gentoo", and it holds your hand
and administers your GuhNoo shitbox for you. And you suck it up like
there's no tomorrow:

"Today, the best GNU/Linux distro, Gentoo, automagically downloaded,
configured, and compiled from the source code, according to my strict
specifications..."

Feeb : It's magic Momma!

Momma: No son, it's Python.

Subject: Re: Python meanderings
From: rbowman
Newsgroups: comp.os.linux.advocacy, comp.os.linux.misc
Date: Tue, 14 Jan 2025 04:16 UTC
References: 1 2 3
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
Subject: Re: Python meanderings
Date: 14 Jan 2025 04:16:49 GMT
Lines: 7
Message-ID: <lum6phFoosuU3@mid.individual.net>
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net fv02t/LUKvLAKBA1WzATpA5FXY3n3Y3Q+q9qPdQPvf+o7voUZw
Cancel-Lock: sha1:UrypEtlIGcY3G/lqc2XCIflJhvc= sha256:bbTJGNeK2oNNgMC6vFbdDVZwnGLq1kBHShPfdxwhumE=
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
View all headers

On Mon, 13 Jan 2025 20:55:45 -0500, 186282@ud0s4.net wrote:

> Python is perfectly good, so WHERE could the problem be ....

A world renown C programmer would never stoop to something as plebeian as
Python. Why do something adequate for the task in 50 lines when you can do
it in 500?

Subject: Re: Python meanderings
From: Nick Charles@nowhere
Newsgroups: comp.os.linux.advocacy
Organization: The Thin Man
Date: Tue, 14 Jan 2025 05:01 UTC
References: 1 2 3
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 14 Jan 2025 05:02:26 +0000
Date: Tue, 14 Jan 2025 00:01:52 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Python meanderings
Newsgroups: comp.os.linux.advocacy
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<vm4n5m$290mt$4@dont-email.me>
Content-Language: en-US
From: Nick Charles@nowhere
Organization: The Thin Man
In-Reply-To: <vm4n5m$290mt$4@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <WcacnTLspOZ_chj6nZ2dnZfqnPh9yJ2d@supernews.com>
Lines: 28
X-Trace: sv3-WcwPuGnlzY1UTlQGAihrOrg5aehmiLbApY5hC7wAm17rhVcJUkfhkFIYEF1btCZf0xvBzrdFrFhPty0!1307wv8obryJz0PLkqstJ6nr+zJzGYahcpyjAKKQSwyZEL7syMkie1t458ygnNKuNH9PLnodnQh+!cTe6BYZ291k=
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 1/13/2025 10:54 PM, DFS wrote:
> On 1/13/2025 5:03 PM, Python Larry wrote:
>
>
>> no Python for me ever.
>
>
> Python (via Portage) is the "heart of Gentoo", and it holds your hand
> and administers your GuhNoo shitbox for you.  And you suck it up like
> there's no tomorrow:

Except his shit is not even IN a box. It is all sitting on a piece of
wood with a huge fan. Everything is exposed like some 1980's high
school science project.

Spectacularly inept.

> "Today, the best GNU/Linux distro, Gentoo, automagically downloaded,
> configured, and compiled from the source code, according to my strict
> specifications..."
>
>
> Feeb : It's magic Momma!
>
> Momma: No son, it's Python.

Classic. Feeb indeed.

Subject: Re: Python meanderings
From: Farley Flud
Newsgroups: comp.os.linux.advocacy, comp.os.linux.misc
Followup: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Tue, 14 Jan 2025 10:56 UTC
References: 1 2 3 4
From: fsquared@fsquared.linux (Farley Flud)
Subject: Re: Python meanderings
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
Followup-To: comp.os.linux.advocacy
References: <vm3etj$1rlkk$2@dont-email.me> <pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks> <3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com> <lum6phFoosuU3@mid.individual.net>
User-Agent: Pan/0.146 (Hic habitat felicitas; d7a48b4 gitlab.gnome.org/GNOME/pan.git)
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 19
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!news.swapon.de!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Tue, 14 Jan 2025 10:56:09 +0000
Nntp-Posting-Date: Tue, 14 Jan 2025 10:56:09 +0000
X-Received-Bytes: 1278
X-Complaints-To: abuse@usenetexpress.com
Organization: UsenetExpress - www.usenetexpress.com
Message-Id: <181a89d88233698c$2007$2484$802601b3@news.usenetexpress.com>
View all headers

On Tue, 14 Jan 2025 04:16:49 +0000, a bunch of assholes wrote:

>
>
>> Python is perfectly good, so WHERE could the problem be ....
> [snip remainder of collective idiocy]

I do beg your fucking pardons. I should have said that I will run like
hell from Python GUI projects. Repeat: I will run like hell from Python
GUI projects.

But I assumed that it would be undestood from the context of the OP.

However, the proper understanding of context requires a modicum of
intelligence which you all fucking buzzards do not possess.

--
Hail Linux! Hail FOSS! Hail Stallman!

Subject: Re: Python meanderings
From: The Natural Philosop
Newsgroups: comp.os.linux.advocacy
Organization: A little, after lunch
Date: Tue, 14 Jan 2025 15:05 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python meanderings
Date: Tue, 14 Jan 2025 15:05:54 +0000
Organization: A little, after lunch
Lines: 32
Message-ID: <vm5ugi$2evln$3@dont-email.me>
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com>
<lum6phFoosuU3@mid.individual.net>
<181a89d88233698c$2007$2484$802601b3@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 14 Jan 2025 16:05:54 +0100 (CET)
Injection-Info: dont-email.me; posting-host="5872e1540114214f053444cde6dd130d";
logging-data="2588343"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182akZEuCtOmhmOStJu7keBT0g/Ncb0WXQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:q15vJ7YxH48nO9EQBhDEgWRHMIA=
In-Reply-To: <181a89d88233698c$2007$2484$802601b3@news.usenetexpress.com>
Content-Language: en-GB
View all headers

On 14/01/2025 10:56, Farley Flud wrote:
> On Tue, 14 Jan 2025 04:16:49 +0000, a bunch of assholes wrote:
>
>>
>>
>>> Python is perfectly good, so WHERE could the problem be ....
>> [snip remainder of collective idiocy]
>
> I do beg your fucking pardons. I should have said that I will run like
> hell from Python GUI projects. Repeat: I will run like hell from Python
> GUI projects.

I have sadly several programs written in python. Even PERL

They are all memory hogs and slow.

But they normally work ok

>
> But I assumed that it would be undestood from the context of the OP.
>
> However, the proper understanding of context requires a modicum of
> intelligence which you all fucking buzzards do not possess.
>
>

--
Gun Control: The law that ensures that only criminals have guns.

Subject: Re: Python meanderings
From: DFS
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 14 Jan 2025 21:33 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: guhnoo-basher@linux.advocaca (DFS)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python meanderings
Date: Tue, 14 Jan 2025 16:33:48 -0500
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <vm6l80$2jc2b$1@dont-email.me>
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<vm4n5m$290mt$4@dont-email.me>
<WcacnTLspOZ_chj6nZ2dnZfqnPh9yJ2d@supernews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Jan 2025 22:33:53 +0100 (CET)
Injection-Info: dont-email.me; posting-host="052db2be06dc5a5bca85ea1dc3ba1ca5";
logging-data="2732107"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NAVdtRnmf2kjNW4ZsLlKI"
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:rYQDPk3ul6hRLx9KjE4MKCZHfsk=
Content-Language: en-US
In-Reply-To: <WcacnTLspOZ_chj6nZ2dnZfqnPh9yJ2d@supernews.com>
View all headers

On 1/14/2025 12:01 AM, Nick Charles wrote:
> On 1/13/2025 10:54 PM, DFS wrote:
>> On 1/13/2025 5:03 PM, Python Larry wrote:
>>
>>
>>> no Python for me ever.
>>
>>
>> Python (via Portage) is the "heart of Gentoo", and it holds your hand
>> and administers your GuhNoo shitbox for you.  And you suck it up like
>> there's no tomorrow:
>
> Except his shit is not even IN a box.   It is all sitting on a piece of
> wood with a huge fan.  Everything is exposed like some 1980's high
> school science project.
>
> Spectacularly inept.

Apparently the clown doesn't understand his computers would be cooler
inside a case (with fans of course).

Subject: Re: Python meanderings
From: DFS
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 14 Jan 2025 21:37 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: guhnoo-basher@linux.advocaca (DFS)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python meanderings
Date: Tue, 14 Jan 2025 16:37:10 -0500
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <vm6lea$2jc2b$2@dont-email.me>
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com>
<lum6phFoosuU3@mid.individual.net>
<181a89d88233698c$2007$2484$802601b3@news.usenetexpress.com>
<vm5ugi$2evln$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 14 Jan 2025 22:37:15 +0100 (CET)
Injection-Info: dont-email.me; posting-host="052db2be06dc5a5bca85ea1dc3ba1ca5";
logging-data="2732107"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18e344FQSKnFr9rA3zpc0LL"
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:ah+jJqWo2Hsx3Q6lx0Brz4uSoyw=
Content-Language: en-US
In-Reply-To: <vm5ugi$2evln$3@dont-email.me>
View all headers

On 1/14/2025 10:05 AM, The Natural Philosopher wrote:

> I have sadly several programs written in python.

Nothing sad about Python, except the performance at certain things.

> Even PERL

OK, sad.

> They are all memory hogs and slow.
>
> But they normally work ok

My large-ish PyQt GUI project is fast once it gets going, but it's slow
to load the first time. It uses 44MB of memory at first, then builds up
to around 55.

Excel 2003 uses 3MB of RAM on start.

Betterbird newsreader uses 227MB

Brave browser with YouTube page open but no videos playing uses 600MB.

Subject: Re: Python meanderings
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.advocacy, comp.os.linux.misc
Organization: wokiesux
Date: Wed, 15 Jan 2025 04:09 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 15 Jan 2025 04:09:09 +0000
Subject: Re: Python meanderings
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com>
<lum6phFoosuU3@mid.individual.net>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Tue, 14 Jan 2025 23:09:08 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <lum6phFoosuU3@mid.individual.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <4W6dnexF9cN4qRr6nZ2dnZfqn_GdnZ2d@earthlink.com>
Lines: 18
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-QlD4Lv5nnmvXaEswUZebXvOChs+Rh7MvdMKSgdmNhg4/hk8KJA3Ws2Wvx+EMonJECe3h8PsWFI5fi9V!tB2R/Wpi8U5NzUfXHBHIrcHTvW5IKOvNHiwdgKo3juXBSpBMx2fsqmRH2qorKta+NFfzJ7pMppzO!USRLull14QnUCgTzvtzt
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 1/13/25 11:16 PM, rbowman wrote:
> On Mon, 13 Jan 2025 20:55:45 -0500, 186282@ud0s4.net wrote:
>
>> Python is perfectly good, so WHERE could the problem be ....
>
> A world renown C programmer would never stoop to something as plebeian as
> Python. Why do something adequate for the task in 50 lines when you can do
> it in 500?

Depends - do you get paid by the hour ? :-)

In any case, Python isn't THAT much more verbose, and
it's easier to understand. Yer 'C' code may be smaller,
but ideally there's a LOT of comment lines .... even
you won't understand half of it in a year or two.

But, as said, I often split the diff and program
in Pascal.

Subject: Re: Python meanderings
From: Nick Charles@nowhere
Newsgroups: comp.os.linux.advocacy
Organization: The Thin Man
Date: Wed, 15 Jan 2025 05:13 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!border-1.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 15 Jan 2025 05:13:32 +0000
Date: Wed, 15 Jan 2025 00:13:32 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Python meanderings
Content-Language: en-US
Newsgroups: comp.os.linux.advocacy
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<vm4n5m$290mt$4@dont-email.me>
<WcacnTLspOZ_chj6nZ2dnZfqnPh9yJ2d@supernews.com>
<vm6l80$2jc2b$1@dont-email.me>
From: Nick Charles@nowhere
Organization: The Thin Man
In-Reply-To: <vm6l80$2jc2b$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <NrScnUAZBt5h3hr6nZ2dnZfqnPsAAAAA@supernews.com>
Lines: 26
X-Trace: sv3-NyszIL68a2Q2G2OPZcTWxIK49x/c2E4FdjSZ/q8wZTRXkBUrAtj/qc+OpfLVNRrW0ng63jZZslnWIeD!RG4FeObLUJ3eUnALQVJEiqe3GWEBKTxH8bnDDpNtZY7Gdc0CeO3Djz4mx/x6KOgezNj0BW7XsWt9!RpOfcE1v8Zs=
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 1/14/2025 4:33 PM, DFS wrote:
> On 1/14/2025 12:01 AM, Nick Charles wrote:
>> On 1/13/2025 10:54 PM, DFS wrote:
>>> On 1/13/2025 5:03 PM, Python Larry wrote:
>>>
>>>
>>>> no Python for me ever.
>>>
>>>
>>> Python (via Portage) is the "heart of Gentoo", and it holds your hand
>>> and administers your GuhNoo shitbox for you.  And you suck it up like
>>> there's no tomorrow:
>>
>> Except his shit is not even IN a box.   It is all sitting on a piece
>> of wood with a huge fan.  Everything is exposed like some 1980's high
>> school science project.
>>
>> Spectacularly inept.
>
>
> Apparently the clown doesn't understand his computers would be cooler
> inside a case (with fans of course).

Apparently the clown does not understand anything about computers.
Hardware OR software.

Subject: Re: Python meanderings
From: Nick Charles@nowhere
Newsgroups: comp.os.linux.advocacy
Organization: The Thin Man
Date: Wed, 15 Jan 2025 05:18 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-2.nntp.ord.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 15 Jan 2025 05:18:07 +0000
Date: Wed, 15 Jan 2025 00:18:08 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Python meanderings
Content-Language: en-US
Newsgroups: comp.os.linux.advocacy
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com>
<lum6phFoosuU3@mid.individual.net>
<181a89d88233698c$2007$2484$802601b3@news.usenetexpress.com>
From: Nick Charles@nowhere
Organization: The Thin Man
In-Reply-To: <181a89d88233698c$2007$2484$802601b3@news.usenetexpress.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <NrScnUMZBt6S2Br6nZ2dnZfqnPudnZ2d@supernews.com>
Lines: 16
X-Trace: sv3-vHWsOVqPTMR6/M/RtPW4XRzH0j9rp4XEDGi3TkxfX7YOAkU/DXI1lfubQ0zQK7GsDZ4vk9JQcBkJeB3!SWCio/9SNL+bzaIhWULpXR8ANDkWuM/CW+Q+LOOzn0+vQlwscmMJSLpXT0+1kh+jbcy2Sspym7rf!e2OWIKG8MOQ=
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 1/14/2025 5:56 AM, Farley Flud wrote:
> On Tue, 14 Jan 2025 04:16:49 +0000, a bunch of assholes wrote:
>
>>
>>
>>> Python is perfectly good, so WHERE could the problem be ....
>> [snip remainder of collective idiocy]
>
> I do beg your fucking pardons. I should have said that I will run like
> hell from Python GUI projects. Repeat: I will run like hell from Python
> GUI projects.

That clanking sound you hear is Feeb, furiously backpedaling.

What a twat. Caught AGAIN making a total fool of himself.

Subject: Re: Python meanderings
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.advocacy
Organization: wokiesux
Date: Wed, 15 Jan 2025 05:37 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!local-2.nntp.ord.giganews.com!local-3.nntp.ord.giganews.com!local-4.nntp.ord.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 15 Jan 2025 05:38:23 +0000
Subject: Re: Python meanderings
Newsgroups: comp.os.linux.advocacy
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com>
<lum6phFoosuU3@mid.individual.net>
<181a89d88233698c$2007$2484$802601b3@news.usenetexpress.com>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Wed, 15 Jan 2025 00:37:31 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <181a89d88233698c$2007$2484$802601b3@news.usenetexpress.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <9H2dndpaOpJS1Br6nZ2dnZfqnPWdnZ2d@earthlink.com>
Lines: 33
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-s7y/bQNgM+tl//nhiGYQnN3IxhdbviiVyT3vj3daqNhZyM9rEE2bVujODjom7rF+kPyGlOiCIeui0Lu!lFlW3oeXPMzGdexSO5L/G3MwwKwh9tiLBGz/WC6yfPs9IIG+aD59/D7TsLGnB3hLi/u6kJPL33UE!3JDGZtpwsDWr7Y0y0Rul
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 1/14/25 5:56 AM, Farley Flud wrote:
> On Tue, 14 Jan 2025 04:16:49 +0000, a bunch of assholes wrote:
>
>>
>>
>>> Python is perfectly good, so WHERE could the problem be ....
>> [snip remainder of collective idiocy]
>
> I do beg your fucking pardons. I should have said that I will run like
> hell from Python GUI projects. Repeat: I will run like hell from Python
> GUI projects.

Python isn't so great for GUIs. I've done a few,
but it's always a fight.

Frankly all of the 'graphic toolkits' are a pain
in the ass regardless of what lang they're meant
for. Memory-mapped screens from the DOS days were
easy, but now .....

> But I assumed that it would be undestood from the context of the OP.

Nope. Not at all. Looked like a global indictment
of Python in any context.

> However, the proper understanding of context requires a modicum of
> intelligence which you all fucking buzzards do not possess.

Proper intelligence means not ASSUMING too much :-)

Now Flud Off ....

Subject: Re: Python meanderings
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Wed, 15 Jan 2025 05:48 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python meanderings
Date: 15 Jan 2025 05:48:06 GMT
Lines: 7
Message-ID: <lup0gmF9d5rU1@mid.individual.net>
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com>
<lum6phFoosuU3@mid.individual.net>
<4W6dnexF9cN4qRr6nZ2dnZfqn_GdnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net aqlZdIO8o5xiipgU/tK6WwgBWzOnF2+QrrGSLWh5GniMs33BOj
Cancel-Lock: sha1:dvIGChJPGN8dg7rtitXcCsFjpWE= sha256:Rfd65hoUMwq3W0Opx6Vls82j8E0mb9pxUdHqcBVPT84=
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
View all headers

On Tue, 14 Jan 2025 23:09:08 -0500, 186282@ud0s4.net wrote:

> But, as said, I often split the diff and program in Pascal.

My memory of Pascal is TurboPascal on a CP/M box. $50 and it certainly
compiled a lot faster than BDS C. It was interesting but Wirth and I
don't agree on what code should look like.

Subject: Re: Python meanderings
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Wed, 15 Jan 2025 06:54 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python meanderings
Date: Wed, 15 Jan 2025 06:54:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <vm7m42$2rnlk$1@dont-email.me>
References: <vm3etj$1rlkk$2@dont-email.me>
<pan$de392$a8fd95f1$d57dc675$fcade1a8@linux.rocks>
<3DidnYy-G8O9WRj6nZ2dnZfqn_GdnZ2d@earthlink.com>
<lum6phFoosuU3@mid.individual.net>
<181a89d88233698c$2007$2484$802601b3@news.usenetexpress.com>
<9H2dndpaOpJS1Br6nZ2dnZfqnPWdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 15 Jan 2025 07:54:59 +0100 (CET)
Injection-Info: dont-email.me; posting-host="4800b6bd52c76150090d92dd279d2d15";
logging-data="3006132"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/I0Re5n89+NfjIQWXBk/u9"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:4yo+GIsGtYl3lzMInkk+DjdsRto=
View all headers

On Wed, 15 Jan 2025 00:37:31 -0500, 186282@ud0s4.net wrote:

> Python isn't so great for GUIs.

What makes it better is async/await. If you wrap the GUI toolkit event
loop in an asyncio-compatible wrapper, then that lets you write event-
loop-agnostic async code!

Examples of using my GLib/GTK wrapper:
<https://bitbucket.org/ldo17/glibcoro_examples/>.

Not sure this is possible in any other language.

1

rocksolid light 0.9.8
clearnet tor