WebEnvironment.py


Posted

in


Rick points to WebEnvironment.py by Patrick Lioi.  WebEnvironment.py is a really simple way to use python as a CGI script.  the cgi module is easy enough to use as it is, but WebEnvironment.py allows you to worry about even less.  Writing content out to the client is as easy as server.write(content).  I also like the ability to write out the contents of a file to the user by using server.file("head.html").