Web Server

Fredrik Lundh fredrik at pythonware.com
Sun Jul 20 17:48:58 CEST 2008


misceverything at gmail.com wrote:

> As part of a Python app I wrote recently (for Windows), I would like
> to give the option of an HTTP (HTTPS if possible, but not necessary)
> front end, which would then call some existing python scripts.  My
> question is - I know I can write a simple HTTP server in Python, but
> if there's something simple already out there, I'd prefer to just use
> that.  Basically all I need is a simple (i.e. preferably a single
> executable) web server that can serve up my content - the only thing I
> want the user to be able to configure is the port the web server
> listens on (or ports if HTTPS also), and the location of the HTML
> files... thanks in advance for your help.

import SimpleHTTPServer ?

sample code here:

     http://effbot.org/librarybook/simplehttpserver.htm

</F>




More information about the Python-list mailing list