Python Mechanize select a form with no name?

Try br. Select_form(nr=0) to select first form In mechanize source, def select_form(self, name=None, predicate=None, nr=None): """ ... nr, if supplied, is the sequence number of the form (where 0 is the first).

Thanks. That worked for my instance with only one form. Just out of curiosity, how do you think it could be done with many forms?

Either all unnamed or some named and others unnamed? – mvid Apr 6 '10 at 4:13 @mvid, yeah, a document could have many forms and names are optional too, and mechanize should be no problem with that. – YOU Apr 6 '10 at 4:18 where we can get predicate value from form?

– Gunslinger_ Nov 3 '10 at 16:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions