Do you actually need to 'press' the button? Or do you just need the effect that pressing the button would bring about (e.g., submitting a Google search query and receiving the results page)?
If the latter, then you might want to search for, e.g., "html form get post" and check out some results. Pushing the button is often just loading a URL with parameters. For example, go to Google and type "html form get post" into the search box and press Submit. Now look at the URL you are visiting in your location bar, the URL of the search results. It will be something like: http://www.google.com/search?hl=en&q=html+form+get+post&btnG=Google+Search If you were to load that URL directly (without having gone to the Google homepage, typed "html form get post" in the text entry box and pressed submit) the exact same effect would happen. Filling in the box and clicking the submit button is just the user-friendly way of constructing that URL. -- http://mail.python.org/mailman/listinfo/python-list