Re: Script Request

2013-12-11 Thread Johannes Findeisen
Hi, On Wed, 11 Dec 2013 04:53:41 -0700 Jeff James wrote: > Looking for a script which will check connectivity of any or all of our > company URL's first thing in the morning to make sure none or our sites are > down. Any suggestions ? Thank You This really is not a suggestion because the s

Re: Script Request

2013-12-11 Thread Steven D'Aprano
On Wed, 11 Dec 2013 04:53:41 -0700, Jeff James wrote: > Looking for a script which will check connectivity of any or all of our > company URL's first thing in the morning to make sure none or our sites > are down. Any suggestions ? Don't reinvent the wheel, use a tool already designed for thi

Re: Script Request

2013-12-11 Thread Larry Martell
On Wed, Dec 11, 2013 at 6:53 AM, Jeff James wrote: > Looking for a script which will check connectivity of any or all of our > company URL's first thing in the morning to make sure none or our sites are > down. Any suggestions ? Thank You import urllib sites = ["http://www.amazon.com/";, "

Script Request

2013-12-11 Thread Jeff James
Looking for a script which will check connectivity of any or all of our company URL's first thing in the morning to make sure none or our sites are down. Any suggestions ? Thank You -- https://mail.python.org/mailman/listinfo/python-list

Re: Script Request...

2008-03-20 Thread Gerard Flanagan
On Mar 19, 10:29 pm, some one <[EMAIL PROTECTED]> wrote: > Thanks Diez, I found some docs and examples on urllib2. Now how do i > search the string I get from urllib2, lets say I put it in "myURL", How > do I search for only Numbers and ".'s" in the "#.#.#.#" pattern. That > is all I am intereste

Re: Script Request...

2008-03-20 Thread Diez B. Roggisch
some one wrote: > Thanks Diez, I found some docs and examples on urllib2. Now how do i > search the string I get from urllib2, lets say I put it in "myURL", How > do I search for only Numbers and ".'s" in the "#.#.#.#" pattern. That > is all I am interested in with all the data retrieved. Just

Re: Script Request...

2008-03-19 Thread some one
Thanks Diez, I found some docs and examples on urllib2. Now how do i search the string I get from urllib2, lets say I put it in "myURL", How do I search for only Numbers and ".'s" in the "#.#.#.#" pattern. That is all I am interested in with all the data retrieved. Just the IP Address from a

Re: Script Request...

2008-03-19 Thread Diez B. Roggisch
some one wrote: > Hi all, I am not to familiar with python yet and I am wondering if > someone can write a script that will monitor my DSL modems IP address > and notify when it changes, its a 2Wire Advanced DSL Modem. I need to > know when it changes because I am trying to run my own inhouse ser

Script Request...

2008-03-19 Thread some one
Hi all, I am not to familiar with python yet and I am wondering if someone can write a script that will monitor my DSL modems IP address and notify when it changes, its a 2Wire Advanced DSL Modem. I need to know when it changes because I am trying to run my own inhouse server and have to updat