#Can I use html, css to create a GUI in python? But I don't want to have to use js?

8 messages · Page 1 of 1 (latest)

faint raven
#

I was thinking tkhtmlview but you can't use a css sheet with it? And I don't know if you can edit the html without 'reloading' the window? That would have been perfect if you could use a style sheet and change the html in real time with python.

Then I was thinking pywebview but you can't edit the HTML with python, you have to use javascript.

I want to: Use html, css to create the interface. Use python, not js, to edit said html in real time.

young egret
#

If you talk about a browser, all the browser can is JS and html.
Even if you change data with PHP in background, still JS is the part which is changing stuff on the client side.

#

Just creating a GUI should be possible with some library with CSS/HTML, but not dynamic, while the usr have loaded the site. You could send a new request to the server for this user, but then the site has to be reloaded too to have a change visible for the user

faint raven
#

Well a gui

#

I'm making a local application

#

and tkinter just isn't curring it

#

cutting it