Submit web form only client-side with Python? COM?
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Sun Aug 5 06:52:56 EDT 2007
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.
> due to
> use of fork and exec to execute the CGI.
CGIHTTPServer uses popen2 or popen3 if available.
> I suggested a few other options in my
> reply, but unfortunately CGIHTTPServer is not an option for this task.
I can't see any other reply from you on this thread... (I'm using the
gmane newsgroup interfase)
--
Gabriel Genellina
More information about the Python-list
mailing list