raghu k rao wrote: > > hi > > how can i send a http request using POST method. > Not just send request > Like i want to login with username and passwd using the above method. > > can anyone tell me a program for this import urllib file = urllib.urlopen("http://spam.foo/post-form.cgi","user=spam&pass=foo").read()