by mathiasgredal · 1y ago · 0 comments
I have a medium sized dependency-free TKinter program written in Python, and AFAIK there is no way to run it in the browser.
Or you could implement a new backend for Tk to draw using some web APIs
There's also a gtk backend for tk (gtkttk), as convoluted as that sounds, so presumably you could use gtk web implementations (broadway) behind that...
In any case, Tk doesn't require an OS to do window drawing, it's entirely up to how things are hooked up.
Also, no browser runs that stuff anymore, and it wouldn'tve been safe to run even when they did.