Let's say you want a frontend for your server and have never written HTML before.
Where so you start? If you have decided on using Python for the UI you have a handful of libraries each with their own documentation. To get started you need to choose one and then read the guides.
If you decide to use HTML you have a whole lot more resources. I'd argue you'll be able to make a frontend faster using this approach.
I understand the hesitation because of the complexity associated with JS. Maybe you're thinking about bundlers and minifiers when you think about writing a frontend with JS.
But you don't need that. You can create amazing user experiences with a plain HTML, CSS and a JS file.
I'm not trying to make an argument for "Python for the UI" in general. I just looked at their demo page, and thought "huh I could probably turn my debug script in to an okay looking UI in an hour with this". Maybe you are right that I could make something okay looking with plain HTML/CSS/JS in less time (including the time to figure out HTML/CSS/JS?)
I agree on making a demo for an existing Python project. I have used Gradio and I think it's amazing!
I disagree on the using something like this to start making a UI. When you know that your project requires a complex frontend, you're better of starting with HTML.
While you may be able to create amazing experiences in JavaScript, JavaScript still has multiple problems:
1. It is inconsistent [1]
2. It does not have many features that programmers love and other languages have.
3. It has a community that holds different values from what other programmers value themselves.
If people want to continue development in JavaScript, they can. But since JavaScript has a monopoly on the (fairly large) 'frontend development for the web' market, there will always be attempts to find an alternative.
Where so you start? If you have decided on using Python for the UI you have a handful of libraries each with their own documentation. To get started you need to choose one and then read the guides.
If you decide to use HTML you have a whole lot more resources. I'd argue you'll be able to make a frontend faster using this approach.
I understand the hesitation because of the complexity associated with JS. Maybe you're thinking about bundlers and minifiers when you think about writing a frontend with JS.
But you don't need that. You can create amazing user experiences with a plain HTML, CSS and a JS file.