Browser front-end, python back-end

William wilk-spamout at flibuste.net
Tue Jan 28 13:25:00 EST 2003


ericmattes at yahoo.com (Eric Mattes) writes:

> 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.

Yes, you just need to use HTTPServer and HTTPRequestHandler.
Have a look at the source of CGIHTTPServer.

> 
> Any ideas? Thanks!
> -E

-- 
William Dode - http://flibuste.net




More information about the Python-list mailing list