I have a mechanize script written in python that fills out a web form and is supposed to click on the \'create\' button. But there\'s a problem, the form has two buttons. One fo
Use the 'click' method. E.g.
mybrowser.select_form(nr=0) req = mybrowser.click(type="submit", nr=1) mybrowser.open(req)
Should work.