P
P
Philip Polikarenkov2015-10-20 13:51:03
Python
Philip Polikarenkov, 2015-10-20 13:51:03

PyQt - where to start learning?

I studied Python a little, I wanted to try to write a simple application with an interface.
I chose python 3.3 and PyQt 5, I almost did not find any lessons. The lessons found were of the level: "This module opens this, that module opens that." Half lines of code without explanation. This kind of lessons are not imprinted in memory (naturally, without assignments or skills consolidation) I decided that it was easier to read the documentation, but I did not find it in Russian. In the end, interest in programming disappeared, I don’t even want to touch it. In this regard, the question is how to continue learning in general and how to start learning PyQT? Are there big differences between PyQt4 and 5?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dimonchik, 2015-10-20
@dimonchik2013

python-3.ru/category/pyqt is enough to get started
, then there is a lot on YouTube, for example
https://www.youtube.com/watch?v=ZKYr9DB-Pzc&list=P...
and 1-2 more courses with a bunch mini vids

J
Jacob E, 2015-10-20
@Zifix

It's very simple: start writing your project, something that you are missing, for example, an alarm clock with custom melodies and sounding the weather for today)

A
Alexander Taratin, 2015-10-20
@Taraflex

In the end, interest in programming disappeared

No way :(

D
dimas, 2015-10-29
@dimas

It is not necessary to look for lessons / examples specifically for PyQt, you can take what you can find just for Qt. At least having experience with Qt3 a few years ago, I mocked up the screen I needed on PyQt in the evening ...
But without self-motivation, of course, nothing will work. You need to find / come up with the application you need ...

P
PyScientist, 2018-06-20
@PyScientist

Colleagues, the best thing, based on personal experience, is writing your own program
with a set of tools for you personally. IMHO
Gradually you will begin to get to the point, but this is not a quick matter. The main thing here is perseverance.
I am currently preparing a series of videos on PyQt and other topics related to Python programming, they are not superfluous when learning PyQt.
Here I note that due to the fact that PyQt is still paid, in the future I will move to PySide and the new PySide2 which has an LGPL license. Although the transition is not very painful, I recommend that you immediately decide why you need it and act based on your priorities, but the main thing is consistency. In order not to rewrite the code later.
So, I prepared a rather large selection in each video, there is both a theoretical and a practical part in which I write part of the finished program.
Here are the current positions
Video 1: Python workspace setup, using PyCharm;
Video 2: Python functions;
Video 3: Python classes;
Video 4: Qt GUI for Python, or PyQt;
Video 5: Python program compilation, cx_Freeze and other compilers;
Video 6.1: Matplotlib library creating plots for data analysis;
Video 6.2: matplotlib and Qt library embedding plots in the Qt GUI;
Video 7: Matplotlib module Animation class FuncAnimation (auto-updating graphs);
Video 8: Matplotlib library, plotting a function using the numexpr library (entering a function from a text string);
Video 9.1: QListWidget and QListView classes benchmarking, a simple example of using QListWidget;
Video 9.2: The QListView class example application using QtCore.QabstractListModel;
Video 10: Python and Excel interaction with excel (libraries xlrd, xlwt, openpyxl, win32com);
Video 11: QTableWidget widget overview and practical use;
Video #12.1 overview of QStackedWidget using QComboBox and QPushButton as radio buttons;
Video No. 12.2 continuation of the QStackedWidget review using QToolButton as switches, styling buttons using qss styles.
I want to emphasize that the project is not commercial, but was created with the aim of forming a community for
joint discussion of the stated issues (scientific use of Python in application programs). I post all the sources and projects prepared within the framework of this project on my
website, discussions on the development of the project take place on the pages of the channel and on the site's forum.
For novice users of Python and PyQt, I think this can be a good start.
If you are interested in this, you are welcome to our community at the link to the channel

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question