simple httplib and urllib timeout question

darrell at rubina.funkomite.com darrell at rubina.funkomite.com
Tue Apr 11 13:28:02 EDT 2000


Just a quick question, im writing a small webbot for a python learning experience and it comes across some sites that will make it hang for a while, if the site is down or extremely slow etc,  is there a way to set a faster timeout for httplib . Or is there a better way to handle it ?


Thanks in advance.

Darrell



More information about the Python-list mailing list