Submit web form only client-side with Python? COM?
Jay Loden
python at jayloden.com
Sun Aug 5 12:54:35 EDT 2007
Gabriel Genellina wrote:
> En Sat, 04 Aug 2007 19:17:35 -0300, Jay Loden <python at jayloden.com>
> escribió:
>
>> Paul Rubin wrote:
>>> goldtech <goldtech at worldpost.com> writes:
>>>> So I can present the user with an HTML form in it - but how can I
>>>> write the form data to a local file on my work station?
>>> The simplest way is with the cgi and CGIHTTPServer modules. You'd
>>> write your form in an html file, with the target set to a Python
>> CGIHTTPServer is not available on Windows (OP said they are on Win XP)
>
> CGIHTTPServer does work on Windows (even on Python 2.1, as far as I can
> go) and using it might be simple enough.
Hrm, if so then it's a documentation bug. That's actually good news then in this
case :-)
(see http://www.python.org/doc/2.1/lib/module-CGIHTTPServer.html )
[snip...]
> I can't see any other reply from you on this thread... (I'm using the
> gmane newsgroup interfase)
It's under the title "Client-side HTML form processing with Python?", apparently
the same post is listed twice or something like that.
-Jay
More information about the Python-list
mailing list