Re: command to update a web page

2005-05-18 Thread atabhcy
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

Re: command to update a web page

2005-05-17 Thread ncf
Ugh. Correction. I can't begin to *act like* I know too much about this subject, ... -- http://mail.python.org/mailman/listinfo/python-list

Re: command to update a web page

2005-05-17 Thread ncf
I can't begin to know too much about this subject, but Python has a builtin httplib module which might be interesting to you. There is also a ftplib if that is how you want to do it. Python's documentation seems to have adequate examples on how to use the two modules. -Wes -- http://mail.python.

Re: command to update a web page

2005-05-17 Thread Larry Bates
You probably just want to use ftplib to upload the new page to the website. You will, of course, need to create the new page from the information provided by whatever condition triggered it prior to uploading to the server. Alternatively you could update some information in a MySQL database and h

command to update a web page

2005-05-17 Thread atabhcy
Hello All, I have a python script which sends out email once a particular condition is met. Now I want to extend the functionality and make this script update a php web page with the same contents as those of the emails it sends out. What module /commands can help me acheive this? Thanks. -- http