Post

Visualizzazione dei post da luglio, 2020

PyQt5 and PyCharm

Immagine
To learn how to build a desktop application, I'm trying PyQt5. On Python wiki , the definition of PyQt is: "PyQt is one of the most popular Python bindings for the Qt cross-platform C++ framework..." One of the most useful tools is Qt Designer that let us build our GUI with simple Drag'n Drop. For this app I'm not using Qt Designer because I have to understand to code under the hood. Another new experience for me is that I'm using PyCharm Community Edition as a editor. So, after install PyCharm I can create a new project with File->New Project and I call it PyQt5_Widget_1 When I press "Create", PyCharm build also a Virtual Environment (as selected in the previous setting). Then, pressing File->Settings, I can install PyQt5 pressing "+": and searching PyQt5 in the search field: Then press "Install Package". So now we have all that we need to create our first widget. Right-click on project name->new->python file Since

AddToAny