On 2012-04-14 17:46, Karim Gorjux wrote:
But I can't get any of these forms! I need the first form so I tried
br.select_form(nr=0)
but I get None!
With "br.select_form()" you set the current form which is accessible
through the "br.form" attribute. The method itself doesnt't return
anything
Hi all, I have a problem with mechanize and I can't get out from it.
I have this code:
br = mechanize.Browser()
br.open('http://.example.com/formpage.html')
forms = br.forms()
for i in forms:
print type(i)
I get all the forms on the page.
But I can't get any of these forms! I ne