python catch socket timeout
import socket try: # do something. except socket.timeout as e: # socket timeout rely on module socket, and should be imported first. # do something to process exception
赞
踩
python catch socket timeout
import socket try: # do something. except socket.timeout as e: # socket timeout rely on module socket, and should be imported first. # do something to process exception
转载于:https://www.cnblogs.com/buxizhizhoum/p/8656740.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。