I have never used the urllib or the urllib2. I really have looked online for help on this issue, and mailing lists, but I can't figure out my problem because people haven't been helping me, which is why I am here! :]. Okay, so basically I want to be able to submit a word to dictionary.com and then get the definitions. However, to start off learning urllib2, I just want to do a simple google search. Before you get mad, what I have found on urllib2 hasn't helped me. Anyway, How would you go about doing this. No, I did not post the html, but I mean if you want, right click on your browser and hit view source of the google homepage. Basically what I want to know is how to submit the values(the search term) and then search for that value. Heres what I know:
import urllib2 response = urllib2.urlopen("http://www.google.com/") html = response.read() print html Now I know that all this does is print the source, but thats about all I know. I know it may be a lot to ask to have someone show/help me, but I really would appreciate it. -- View this message in context: http://www.nabble.com/using-urllib2-tp18150669p18150669.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list