command to update a web page

atabhcy at yahoo.com atabhcy at yahoo.com
Wed May 18 17:23:47 EDT 2005


Thanks
I used the httplib module to establish and test a connection now the
next step is to login supplying a username and password.
Any examples of these available somewhere
This is what i have so far
import httplib, urllib
conn = httplib.HTTPConnection("xxx.xx.xx.xxx")
conn.request("GET", "/index.php")
response = conn.getresponse()
print response.status, response.reason
data = response.read()
conn.close()




More information about the Python-list mailing list