CGI/HTML forms in a standalone application.

Moshe Zadka moshez at math.huji.ac.il
Mon Feb 14 10:34:51 CET 2000


On Mon, 14 Feb 2000 bayinnaung at my-deja.com wrote:

> that can also be used as a non-web/standalone application
> on a single/PC.
> 
> Can you use a kind of dummy server to simulate the CGI on a single
> machine.

You can derive a class from SimpleHTTPRequestHandler, copy some code from
CGIHTTPRequestHandler and come up with a class
CGILikePythonFunctionHTTPRequestHandler
 --
Moshe Zadka <mzadka at geocities.com>. 
INTERNET: Learn what you know.
Share what you don't.





More information about the Python-list mailing list