Re: URI http get

2005-12-01 Thread jepler
The "urllib2" module is designed for tasks like this. The tutorial shows how to use urllib2.urlopen() to fetch the contents of a URL using the http protocol. Jeff pgpdV8higv7SR.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list

URI http get

2005-12-01 Thread [EMAIL PROTECTED]
I have a website and by accessing it from the browser, for example: "http://www..com:/status";, the web page will display "ok" only if the URI is up. And it will return "website could not be found" alert if the URI is down. In Python, is there a way to retrieve "ok" programmatically and de