Re: Why Python When There Is Perl?

Liste des GroupesRevenir à col advocacy 
Sujet : Re: Why Python When There Is Perl?
De : nospam (at) *nospam* dfs.com (DFS)
Groupes : comp.os.linux.advocacy
Date : 21. Mar 2024, 00:20:52
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <utfng4$1o6mu$1@dont-email.me>
References : 1 2 3 4
User-Agent : Betterbird (Windows)
On 3/20/2024 12:23 AM, rbowman wrote:
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.
Work or play?
My biggest PyQt app is nearly 2200 lines, incl comments and whitespace and handling 7 different dbms's.

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.
Thanks for the heads-up.
"Qt for Python is the project that provides the official set of Python bindings (PySide6) that will supercharge your Python applications."

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.
 From what I read on PySide vs PyQt, the changes to my apps will be minimal, mainly new imports and a few other little tweaks having to do with the .ui files.

Date Sujet#  Auteur
5 Oct 24 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal