r/PyScript • • May 08 '22

Can I run Tkinter with Pyscript?

Will PyScript support Tkinter applications at some point? Thanks.

7 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/manatlan May 09 '22

It's exactly the goal of https://github.com/manatlan/htag

It's a gui toolkit, which produce html/js/css ... And can work backside (in a real python env), or clientside (in a pyscript html page) ...

It should be "easy", to convert tk widgets to htag widgets

See https://rawcdn.githack.com/manatlan/htag/5e692c1fcde0e8d0b50e5ff22a9f0c40fc10f05e/examples/pyscript_htbulma.html