Browser front-end, python back-end
nospam at bigfoot.com
Tue Jan 28 19:37:06 CET 2003
"Eric Mattes" <ericmattes at yahoo.com> a écrit dans le message de news:
fd5aa35c.0301280922.a952dc7 at posting.google.com...
> I'd like to know if anyone knows a way to write a python program that
> can be interfaced with through a web browser. I've been investigating
> some GUIs and although I've written a prototype GUI in Tkinter, it
> lacks personality. I'd like to make a nice GUI using HTML. Has anyone
> done anything like this before? If so, how? Would it involve
> embedding/using BaseHTTPServer? Ideally this would run on both Windows
> and Mac OS.
> Any ideas? Thanks!
You can make small servers using BaseHTTPServer and BaseCGIServer.
If your app is quite complex, you should consider using a real framework :
* Twisted Matrix
* others : see http://phaseit.net/claird/comp.lang.python/web_python.html
More information about the Python-list