python - mechanize/browser/POST issue

Wojtek Walczak gminick at bzt.bzt
Wed Sep 3 06:44:38 EDT 2008


On Tue, 2 Sep 2008 19:39:05 -0700, bruce wrote:

> using mechanize/Browser, i can easily do a url/get, and process submitting a
> form that uses a GET as the action. however, I'm not quite sure how to
> implement the submittal of a form, that uses the POST action.
>
> Anyone have a short chunk of code that I can observer, that uses the
> mechanize.Browser implentation?

Take a look at the bottom of this post:

http://mail.python.org/pipermail/python-list/2006-June/390037.html

It seems that submit does the job.

-- 
Regards,
Wojtek Walczak,
http://tosh.pl/gminick/



More information about the Python-list mailing list