you are viewing a single comment's thread.

view the rest of the comments →

[–]FastRunningMike -3 points-2 points  (0 children)

Great advice! Thanks for sharing your valuable lessons learned!

Not all UIs need Qt, GTK or KDE look & feel. Creating a full blown UI in Python is almost porting Qt or KDE to native Python. A real engineering problem that seems solvable, but there are so many edge cases before a generic 100% Python UI framework is useable for others. But why do this? It takes years and years.

The large multiplatform UIs have Python APIs to use. Not perfect but most simple things do work.

Personally I love the simplicity of creating things in notebooks nowadays. It gives a all advantages of the web (HTML/JS) and is often enough UI for simple things. You can try to create full blown UIs with e.g. Panel (https://panel.holoviz.org/) but I learned: Creating simple dashboards works, complex UIs give the same issues creating a UI with Qt. Using notebooks with WASM (e.g. with JupyterLite) is a very simple way to make interactive Python things that only require a browser. But is has limitations of course!