On Mar 10, 8:45 pm, "Pierre Quentel" <[EMAIL PROTECTED]>
wrote:
> To get the key-value dictionary :
>
> cgi.parse_qs(os.environ["QUERY_STRING"])
Thanks a lot, it works!
-Samuel
--
http://mail.python.org/mailman/listinfo/python-list
On 10 mar, 19:52, "Samuel" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have the following form:
>
>
>
>
>
> and would like to retrieve both fields, "one" and "two". However, the
> following does not work:
>
> form_data = cgi.FieldStorage()
> for key in form_data:
> print key + ":", form_data[key]