Hey guys,


I’m trying to put together a script using urllib2, smtplib and
stripogram/html2text which will use a healthcheck url, read the response
after loading it and then email me the results without any unwanted html
tags. I was able to do that but, when I get a timeout on one of the servers
the script breaks with an error response. I’m very new to python and I don’t
know how to take that error and have it sent as well, instead of breaking
the script. Any advice or links I can check out that might be helpful? I
appreciate it.


I can include the python code if needed though at this point I'm sure it is
not very "pythonic". {smile}


Regards,

-russ
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to