Using Python to sign into website, fill in a form, then sign out
import urllib import urllib2 name = “name field” data = { “name” : name } encoded_data = urllib.urlencode(data) content = urllib2.urlopen(“http://www.abc.com/messages.php?action=send”, encoded_data) print content.readlines() just replace http://www.abc.com/messages.php?action=send with the url where your form is being submitted reply to your comment: if the url is the url where your form is located, and you need to … Read more