python - mechanize/browser/POST issue

Wojtek Walczak gminick at bzt.bzt
Wed Sep 3 12:44:38 CEST 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:

It seems that submit does the job.

Wojtek Walczak,

More information about the Python-list mailing list