To determine the stack to develop UI Style application in Python?


At the moment, think of a bunch PyWebView + Bottle/Flask. That is, when the program starts to run a local server, to display there in a view function (not sure how it's called in Ganga) and need to take everything with pywebview.
Here how to tie the UI? Do I have to be the framework of any or can mold the styles directly in HTML + CSS?
Maybe there are other solutions?
June 5th 19 at 22:07
2 answers
June 5th 19 at 22:09
PyQt/PySide supports all features of Qt, including complex styles in the CSS. The idea of the server working, but produce a lot of frills.
As I recall, PySide gets messy if the Python version higher than 3.4. As an extreme option, but I would not want to go with 3.6 - gustave_Ha commented on June 5th 19 at 22:12
June 5th 19 at 22:11
In General for a stack there are only two more or less suitable assets: pywebview + flask and pysciter
pywebview + flask - zamarachivatsya long, but there is something so possible. Maybe I'll try to investigate further this issue. There was also a problem with centering the window. Apesca addressed and there are no lines about installation position. But there is where there are such lines. No further digging.

pysciter is the perfect solution. The whole UI can be built on html + css + tiscript (although it is a pity that it's not js, it would be more freedom of action). Very cool stuff. Scares the same tiscript. Not supported grid-layer, not all css selectors work. No idea how to draw a cute dynamic graphics.

Find more questions by tags PythonSoftwareUser interface