[PyQt] Project on PyQt
Hans-Peter Jansen
hpj at urpla.net
Sat Nov 26 12:10:34 GMT 2016
Hi Claudio,
first of all, a warmth welcome to PyQt and please beg my pardon of replying
this late. It's a bit of a shame, that your message has kept unanswered this
long...
I'm attending this forum since a long time, well 2001 to be honest, and it's
been a mailing list with one of the highest signal/noise ratios out there,
that I've ever seen. That's mostly due to Phil himself, who is a real master
in this respect (up to the point, where conciseness starts to hurt. In the
most salutary way, of course ;).
On Freitag, 18. November 2016 15:50:40 GMail wrote:
> Hi, i am a programmer with almost 100% of my experience working on Python
> Data mining, web scrapping, data visualization and for circumstances out of
> my reach i should change my country of living and i just got this job for
> developing a Python GUI based software so after checking my choices i went
> for Qt (PyQt) toolkit so far so good but the thing is that i have never
> developed GUI or Network based software and i would like from anybody some
> lights about how should i make the structure of this to be on target the
> best practices in GUI Qt PyQt standards.
Congrats for your choice. It's hard to express the power of this magnificent
environment is a few words. You will not get more bang for the buck anywhere
else in the Python GUI world. Explore the Qt docs, and remember, that _all_
this is at your fingertips, but without all this C++ cruft. You need to learn
to ignore these parts.
Of course, this comes with a price. The overwhelming functionality takes some
time to become familiar, and the PyQt binding cannot always cover its origins.
On the other hand, it tries hard to pass on Qts efficiency to the user.
For anything else, I'm implying, that you will take the PyQt5 route with
Python3. In order to get started, I still recommend Mark Summerfields book
"Rapid GUI Programming with Python and Qt". While still based on Python2 and
PyQt4, it is a fantastic read for the general GUI and specific Qt concepts.
The major differences to the actual state of affairs are somewhat neglectible,
if you're fluent with Python itself, and the Python2 to Python3 transitioning
hiccups in particular. The examples are available for Python3 (and PyQt4) at
least.
In fact, with Python3 and PyQt5, things got a lot easier again. Phil does a
great job in eliminating the dreaded QStrings and QVariants, so this
harmonizes perfectly with Python3 unicode strings. You might want to try eric,
the IDE, that is written in PyQt. It helps beginners with the loose ends like
designer and translation integration, for example.
After/During reading Marks book, study the examples, that come with PyQt5.
If you're stuck at some point, try to reduce the issue to the simplest
possible implementation. Usually, you will solve it in this process. If not,
don't hesitate and post your issue here.
General advices are a bit harder to harvest in mailing lists (and the web), as
you see with this post, but possible anyway.
> BTW the software i am going to
> develop is a casino player tracking app. Thanks in advance for any
> clarifying comment.
Good luck.
Cheers,
Pete
More information about the PyQt
mailing list