Can CleintForm work with webbrowser?
cosmo_general at yahoo.com
Mon Mar 2 06:36:51 CET 2009
ClientForm is cool at grabbing and parsing stuff from server, I like
it. After the stuff parsed, and even filled values for the Controls, I
popped up an idea of displaying what I had done with webbrowser. Look
at the code:
request = urllib2.Request(url)
response = urllib2.urlopen(request)
forms = ClientForm.ParseResponse(response, backwards_compat=False)
...parsing and filling forms
# now I want to display the forms I modified, with webbrowser
??? is supposed to be a url. But this moment I want to display the
form I filled. Obviously webbrowser takes url as argument rather than
a form. Is there other options to do this? Somebody can help? Thanks!
More information about the Python-list