"Kowalski" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> from mechanize import Browser
>
> br = Browser()
> br.open("http://www.google.com";) #example
>
> for form in br.forms():
>    print form
>
> br.select_form(name="f")
> br["q"] = "Blah"
>
> #???
> #response1=br.submit()
> #???
>
Check out twill, it puts a wrapper around mechanize to make this kind of 
thing pretty easy.

-- Paul 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to