Fill a form which doesn’t have a name in Python

I have a page which contains multiple forms. Using mechanize module, I run the following code:

for form in br.forms():
print "Form name:", form.name

And the output is:

None
None
None

How do I fill and submit such a form?


Source: python

Leave a Reply