D
D
densaface2019-11-29 13:57:52
Python
densaface, 2019-11-29 13:57:52

How to properly design a GUI application written in python?

Given:
1. Windows
2. An application written in python that works properly and is properly converted by the pyinstaller module to *.exe. Then this exe is easy to run for the user, even if he does not have python and its related components installed, usually described in requirements.txt (which is the cost of installing opencv2, for example)
Task:
1. Fasten the GUI interface so that it is easier to change the input data in it . In theory, this is not a problem with pyside2, although there is a hassle with adding new controls.
2. Tighten auto-update. Superficial googling says reload, imp can help me. I suspect that there are many pitfalls waiting for me here.
3. Tighten the possibility of a subscription, i.e. there will be some basic free part, and some paid one. To organize a request to a remote database with keys through python is also simple in theory.
At the stage of spinning in my head, how best to do it, I thought if it would be better to make a simple dialog box in MS Visual Studio, which, upon pressing each button, will launch an exe converted from a Python py module with different command line parameters. This will make it easier for me to work with GUI windows and with an update for which I already have a working sample from another project. I would like to hear the thoughts of the professional community on this topic, does the idea with such a Frankenstein have the right to life, or is it still better to avoid this heterogeneity to the last? What unpleasant surprises can await along the way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2019-11-29
@densaface

Wouldn't it be better to make a simple dialog box in MS Visual Studio that will launch an exe converted from a Python py module with different command line parameters on each button click?

What kind of perversions they will not cheat, if only PyQt is not mastered.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question