How to get the Pton Tkinter applet to a web page

I wrote an applet in Python using the Tkinter library. I finished writing the applet, but now I want to make it publicly available on my site. Does anyone know how to make python script work on my site? I do not want this to be something that needs to be downloaded, but you can just run it in a browser if possible. Thanks!

+7
source share
1 answer

What you ask for is impossible . A few years ago there was a plugin for the Tcl / Tk browser, but the last time someone touched the sourceforge project, it was back in 2006. I seriously doubt that you can get it to work with Tkinter. In this regard, I doubt that this works for tcl / tk either. Browsers have advanced quite a bit since then.

And no, getting it to work on jython so that you can run it through the java plugin will not help. Tkinter works by working directly with the tcl / tk interpreter. The tcl / tk interpreter will not run in the JVM.

+7
source

All Articles