Sujet : Re: Why Python When There Is Perl?
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.advocacyDate : 20. Mar 2024, 06:23:17
Autres entêtes
Message-ID : <l5v6llF9804U3@mid.individual.net>
References : 1 2 3
User-Agent : Pan/0.149 (Bellevue; 4c157ba)
On Tue, 19 Mar 2024 22:55:03 -0400, DFS wrote:
To run it:
1) install Python
2) install PyQt 5
I've been using PySide6. There are some minor differences with signals but
otherwise it is the same. I think PySide is now the 'official' approach. I
think I've mentioned the pissing contest with Riverside over GPL versus
LGPL that gave rise to PySide.
One caveat: there is a line you can add that allows for more 'Pythonic'
function conventions,
from typing import Optional
so you can say
self.set_layout(layout)
rather than
self.setLayout(layout)
It might be more Pythonic and all that good stuff but it is not completely
implemented and some things still have to be camel case so I stopped
trying to use it.