One of my recent undertakings has been, to extend my knowledge of Python, which I was previously only capable of writing procedural code for, to include, how to write Object-Oriented Python.
In the process, I began to think of what advantages I might now have, with that ability. And one answer which presented itself was of the form, ‘I already know enough about the Qt Library, to use it for some C++ programs. It has a Python binding referred to sometimes as PyQt. With the ability to write Object-Oriented Python, I should also gain the ability to write GUI applications in Python – eventually.’
The result of my recent exercise can be found at this URL:
The compressed files which contain my first project using PyQt are named ‘
PyQt_Test_1_s.gz‘ and ‘
PyQt_Test_1_s.zip‘. Either of those compressed archives need to be unzipped to a folder, in which there should be a total of 4 Python scripts. Python 3 would need to be run on the script named ‘
I’m sorry to start so small.
Oh, yes… In order for these scripts to run, the reader’s Python installation would need to include PyQt5. Not all do.