M.N.A.Smadi wrote:

>hi;
>
>I just want to test that a given website is up or not from a python 
>script.  I thought of using wget as an os command.  Any better ideas?
>  
>
urllib

http://www.python.org/doc/current/lib/module-urllib.html

If you only want to test if the HTTP port is open or not:

socket

http://docs.python.org/lib/module-socket.html

   Les

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to