close
[python]thread queue block put get task_done not work while loop

Bryce Boe » The Python Multiprocessing Queue and Large Objects
http://www.bryceboe.com/2011/01/28/the-python-multiprocessing-queue-and-large-objects/
why the method get() of python Queue is hang on there? - Python
http://bytes.com/topic/python/answers/523394-why-method-get-python-queue-hang-there
python urllib2 抓取网页 如何捕获各种异常呢 - 其他开发语言 / 脚本语言(Perl ,Python)
http://topic.csdn.net/u/20100106/17/d564f484-9d0f-4364-acb1-6500d7c39fe6.html

urlopen error 10045, 'address already in use' while downloading in Python 2.5 on Windows - Stack Overflow
http://stackoverflow.com/questions/1512057/urlopen-error-10045-address-already-in-use-while-downloading-in-python-2-5-on

retry = 3 # 3 tries
while retry :
try :
datastream = opener.open(request)
except urllib2.URLError, ue:
if ue.reason.find('10048') > -1 :
if retry :
retry -= 1
else :
raise urllib2.URLError("Address already in use / retries exhausted")
else :
retry = 0
if datastream :
retry = 0
Hash哈希表和哈希算法_萧萧_新浪博客
http://blog.sina.com.cn/s/blog_4b5039210100ew6l.html





arrow
arrow

    peicheng 發表在 痞客邦 留言(0) 人氣()