Browser front-end, python back-end

Gillou nospam at bigfoot.com
Tue Jan 28 13:37:06 EST 2003


"Eric Mattes" <ericmattes at yahoo.com> a écrit dans le message de news:
fd5aa35c.0301280922.a952dc7 at posting.google.com...
> Hi.
>
> 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!
> -E

You can make small servers using BaseHTTPServer and BaseCGIServer.
If your app is quite complex, you should consider using a real framework :

* Twisted Matrix
* Medusa
* Zope
* others : see http://phaseit.net/claird/comp.lang.python/web_python.html

--Gilles







More information about the Python-list mailing list